Skip to content

[7.x] Allow applications to register feature privileges which are excluded from the base privileges (#41300)#42300

Merged
kobelb merged 1 commit intoelastic:7.xfrom
kobelb:backport/7.x/pr-41300
Jul 30, 2019
Merged

[7.x] Allow applications to register feature privileges which are excluded from the base privileges (#41300)#42300
kobelb merged 1 commit intoelastic:7.xfrom
kobelb:backport/7.x/pr-41300

Conversation

@kobelb
Copy link
Contributor

@kobelb kobelb commented Jul 30, 2019

Backports the following commits to 7.x:

…from the base privileges (elastic#41300)

* Allowing features with reserved and normal privileges to be listed

* Allowing privileges to be excluded from the base privileges

* Defaulting to custom when creating new privilege entries

* Adjusting logic for the privilege space table and adding tests

Prior to these changes, if we gave the user global base all and then a
custom set of privileges at a space granting access to the
reservedAndNormal feature, it'd show "All" for the space specific
privileges.

* Better naming for tests

* Using a common rawKibanaPrivileges fixture

* Rendering tooltip when feature isn't part of the base privileges

* i18n'ing a string

* Properly i18n'ing the string?
@kobelb kobelb added the backport This PR is a backport of another PR label Jul 30, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@kobelb kobelb merged commit 541f457 into elastic:7.x Jul 30, 2019
@kobelb kobelb deleted the backport/7.x/pr-41300 branch July 30, 2019 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants