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 - Role API Structure #26740

Merged
merged 18 commits into from
Dec 6, 2018
Merged
Changes from 1 commit
Commits
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
Update x-pack/plugins/security/server/lib/authorization/privilege_ser…
…ializer.test.ts

Co-Authored-By: kobelb <brandon.kobel@gmail.com>
  • Loading branch information
legrego and kobelb authored Dec 6, 2018
commit 852dc3b0d6367985cd4fa2c35a4d0b8fd0187d3d
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe(`#isGlobalMinimumPrivilege`, () => {
});

['space_all', 'space_read', 'foo', 'bar', 'feature_foo', 'feature_foo.privilege1'].forEach(
validValue => {
invalidValue => {
test(`returns false for '${invalidValue}'`, () => {
expect(PrivilegeSerializer.isGlobalMinimumPrivilege(invalidValue)).toBe(false);
});
Expand Down