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

Add wildcard permission (permission for all types) #98

Merged
merged 3 commits into from
Sep 7, 2015

Conversation

freiksenet
Copy link
Contributor

Insert that permission into new apps.

Insert that permission into new apps.
data: {
createReindexPermission: {
ReindexPermission: {
id: permissionId,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a verbose check that doesn't really test all that much. You could simply do

assert.deepProperty(
  permission,
  'data.createReindexPermission.ReindexPermission.id'
);

for the same effect and less noise.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@freiksenet
Copy link
Contributor Author

All good @fson ?

@fson
Copy link
Member

fson commented Sep 7, 2015

Yeah ship it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants