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

Allow to use '*' wildcard in field permissions #16

Closed

Conversation

laurentmartelli
Copy link

This allows to enable write access on one field of class in a simple manner, since the
class must have write access in order to have the edit button (without that, you have to set read access on every field without write access) :

Permission (,read,write)
Rule (,'*',read)
Rule (,,read,write)

I additionally optimized the search of a rule a bit : the rules are now only iterated on only once.

This allows to enable write access on one field of class, since the
class must have write access in order to have the edit button :

Permission (<MyClass>,read,write)
Rule (<MyClass>,'*',read)
Rule (<MyClass>,<myField>,read,write)
@laurentmartelli laurentmartelli changed the title Allow to user '*' wildcard in field permissions Allow to use '*' wildcard in field permissions Jun 6, 2018
axeloradmin pushed a commit that referenced this pull request Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants