Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

Multiple "whats" #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Multiple "whats" #1

wants to merge 3 commits into from

Conversation

HenrikJoreteg
Copy link

Instead of this:

this.mayi.grant(userslug, 'publish', feedname);
this.mayi.grant(userslug, 'edit', feedname);
this.mayi.grant(userslug, 'move', feedname);
this.mayi.grant(userslug, 'retract', feedname);
this.mayi.grant(userslug, 'read', feedname);

It can now be this:

this.mayi.grant(userslug, ['publish', 'edit', 'move', 'retract', 'read'], feedname);

It still allows both.

@fritzy
Copy link
Contributor

fritzy commented Sep 26, 2011

cool. did you see the multiple query addition?

@HenrikJoreteg
Copy link
Author

Sure did :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants