Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GAP: Security disables UI capabilities #25809

Merged
Merged
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
60380d9
Restructure user profile for granular app privs (#23750)
legrego Nov 5, 2018
80068c0
Fixing saved object capability checking
kobelb Oct 31, 2018
6e15ff2
Beginning to restructure actions to be used for all action building
kobelb Nov 1, 2018
f160ea9
Using actions to build ui capabilities
kobelb Nov 2, 2018
7a54a7b
dropping /read from client-side userprovide ui capabilities
kobelb Nov 2, 2018
610dc3a
Adding some actions
kobelb Nov 2, 2018
993a0c1
Using different syntax which will hopefully help with allowing apps to
kobelb Nov 5, 2018
acc1909
Exposing all saved object operations in the capabilities
kobelb Nov 5, 2018
5ac2e00
Using actions in security's onPostAuth
kobelb Nov 5, 2018
a52cf82
Only loading the default index pattern when it's required
kobelb Nov 5, 2018
f4ec14a
Only using the navlinks for the "ui capabilities"
kobelb Nov 5, 2018
c21e66b
Redirecting from the discover application if the user can't access
kobelb Nov 5, 2018
e0e8bbb
Redirecting from dashboard if they're hidden
kobelb Nov 6, 2018
12e7f1b
Features register their privileges now
kobelb Nov 7, 2018
334b59d
Introducing a FeaturesPrivilegesBuilder
kobelb Nov 7, 2018
fbc2c6f
REmoving app from the feature definition
kobelb Nov 9, 2018
379e721
Adding navlink specific ations
kobelb Nov 12, 2018
a13077a
Beginning to break out the serializer
kobelb Nov 12, 2018
0a0df84
Exposing privileges from the authorization service
kobelb Nov 12, 2018
1900fb4
Restructuring the privilege/resource serialization to support features
kobelb Nov 12, 2018
ecac891
Adding actions unit tests
kobelb Nov 12, 2018
8510a40
Adding features privileges builders tests
kobelb Nov 13, 2018
770f993
Adding PrivilegeSerializer tests
kobelb Nov 13, 2018
224c981
Renaming missed usages
kobelb Nov 13, 2018
4c49549
Adding tests for the privileges serializer
kobelb Nov 13, 2018
4158b59
Adding privileges tests
kobelb Nov 13, 2018
d73758b
Adding registerPrivilegesWithCluster tests
kobelb Nov 13, 2018
0ca6a29
Better tests
kobelb Nov 13, 2018
e3bed14
Restructure user profile for granular app privs (#23750)
legrego Nov 5, 2018
e93a08f
Fixing authorization service tests
kobelb Nov 13, 2018
c9d3e90
Adding ResourceSerializer tests
kobelb Nov 13, 2018
94a855b
Fixing Privileges tests
kobelb Nov 13, 2018
34a3b95
Some PUT role tests
kobelb Nov 14, 2018
a9d19c1
Fixing read ui/api actions
kobelb Nov 14, 2018
956b755
Introducing uiCapabilities, removing config providers & user profile …
legrego Nov 14, 2018
89bf79a
Merge remote-tracking branch 'upstream/granular-app-privileges' into …
kobelb Nov 14, 2018
90d884a
Exposing features from xpackMainPlugin
kobelb Nov 14, 2018
5275ac3
Adding navlink:* to the "reserved privileges"
kobelb Nov 14, 2018
223c4c0
navlink -> navLink | nav_linknavlink -> navLink | nav_linknavlink ->
kobelb Nov 14, 2018
1c92d42
Automatically determining navlink based ui capabilities
kobelb Nov 14, 2018
8f6a0b1
Backing out changes that got left behind
kobelb Nov 14, 2018
dd0e312
Using ui actions for navlinks
kobelb Nov 14, 2018
27f51ed
Adding TODOs
kobelb Nov 14, 2018
52ead4e
Ui -> UI
kobelb Nov 14, 2018
9d4bb8d
Deleting unused file
kobelb Nov 14, 2018
7c2db49
Removing api: [] as it's not necessary anymore
kobelb Nov 14, 2018
e381bd3
Fixing graph saved object privileges
kobelb Nov 14, 2018
3a509d5
Privileges are now async
kobelb Nov 14, 2018
fc80ce7
Pushing the asycnchronicity to the privileges "service"
kobelb Nov 15, 2018
a67fa22
Adding TODO
kobelb Nov 15, 2018
96430b0
Providing initial value for reduce
kobelb Nov 15, 2018
6b762fd
adds uiCapabilities to test_entry_template
legrego Nov 15, 2018
a4da2eb
Adding config to APM/ML feature privileges
kobelb Nov 15, 2018
ef40f71
Merge pull request #8 from legrego/pr/25347
kobelb Nov 15, 2018
52303d5
Commenting out obviously failing test so we can get CI greeenn
kobelb Nov 15, 2018
78eb191
Merge remote-tracking branch 'origin/gap/actions-restructure' into ga…
kobelb Nov 15, 2018
0b06d83
Fixing browser tests
kobelb Nov 15, 2018
bfa2410
First, very crappy implementation
kobelb Nov 15, 2018
28161fd
Adding tests for disabling ui capabilities
kobelb Nov 15, 2018
428c6aa
All being set to false no longer requires a clone
kobelb Nov 15, 2018
5e3a452
Using _.mapValues makes this a lot more readable
kobelb Nov 15, 2018
6cb6a93
Checking those privileges dynamically
kobelb Nov 16, 2018
d3c1d51
Fixing some broken stuff when i introduced checkPrivilegesDynamically
kobelb Nov 16, 2018
2411fa0
Adding conditional plugin tests
kobelb Nov 16, 2018
58936ea
Renaming conditional plugin to optional plugin
kobelb Nov 16, 2018
b706b93
Fixing type errors
kobelb Nov 16, 2018
c54108e
GAP - Actions Restructured and Extensible (#25347)
kobelb Nov 16, 2018
c65089c
Merge remote-tracking branch 'upstream/granular-app-privileges' into …
kobelb Nov 16, 2018
8989d65
Restructure user profile for granular app privs (#23750)
legrego Nov 5, 2018
503893d
Introducing uiCapabilities, removing config providers & user profile …
legrego Nov 14, 2018
c197dcf
GAP - Actions Restructured and Extensible (#25347)
kobelb Nov 16, 2018
92621e2
Update x-pack/plugins/security/server/lib/authorization/disable_ui_ca…
legrego Nov 16, 2018
d3db6ca
Update x-pack/plugins/security/server/lib/authorization/check_privile…
legrego Nov 16, 2018
446aea0
Disabling all ui capabilities if route is anonymous
kobelb Nov 19, 2018
804d413
More typescript
kobelb Nov 19, 2018
818afe5
Even more typescript
kobelb Nov 19, 2018
b8fb164
Updating snapshot
kobelb Nov 19, 2018
77bc2cd
Merge remote-tracking branch 'upstream/granular-app-privileges' into …
kobelb Nov 19, 2018
6da6dc4
Less any
kobelb Nov 19, 2018
5d4e1d2
More safer
kobelb Nov 19, 2018
6bba665
Another one
kobelb Nov 19, 2018
cf04d17
Restructure user profile for granular app privs (#23750)
legrego Nov 5, 2018
aae0858
Introducing uiCapabilities, removing config providers & user profile …
legrego Nov 14, 2018
c4f7e7d
GAP - Actions Restructured and Extensible (#25347)
kobelb Nov 16, 2018
60a2e70
update snapshot
legrego Nov 26, 2018
a624025
Merge branch 'granular-app-privileges' into pr/25809
legrego Nov 27, 2018
87682b2
Merge pull request #11 from legrego/fix-conflicts-25809
kobelb Nov 27, 2018
685c6c2
Update x-pack/plugins/security/server/lib/authorization/check_privile…
legrego Nov 27, 2018
c1f29e7
Update x-pack/plugins/security/server/lib/authorization/check_privile…
legrego Nov 27, 2018
8351171
Merge remote-tracking branch 'upstream/master' into granular-app-priv…
kobelb Nov 27, 2018
a0ea832
Merge remote-tracking branch 'upstream/granular-app-privileges' into …
kobelb Nov 27, 2018
d3e65cc
Fixing type errors
kobelb Nov 27, 2018
25fae69
Only disabling navLinks if a feature is registered for them
kobelb Nov 29, 2018
e179452
Merge remote-tracking branch 'upstream/granular-app-privileges' into …
kobelb Nov 29, 2018
37d10a5
Adding non i18n'ed tooltip
kobelb Nov 29, 2018
8d60812
Making metadata and tooltip optional
kobelb Nov 29, 2018
71c1261
Merge branch 'granular-app-privileges' into gap/disable-ui-capabilities
kobelb Dec 3, 2018
b35c7cd
i18n'ing tooltips
kobelb Dec 3, 2018
a45afbd
Responding to peer review comments
kobelb Dec 3, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Deleting unused file
kobelb committed Nov 14, 2018
commit 9d4bb8d4307ad30a746c46f5cd46f8a3b0096313

This file was deleted.