rng icon indicating copy to clipboard operation
rng copied to clipboard

Provide more granular registrations permissions

Open steveoliver opened this issue 8 years ago • 4 comments

Something like <operation> own/any <event_type> <registration_type> registrations would be more helpful than just the 'Administer all registration entities' permission.

steveoliver avatar Jul 26 '17 21:07 steveoliver

<operation> own/any <event_type> registrations exists already as event type access [defaults].

What problem are you hoping to solve with your variant?

dpi avatar Jul 27 '17 10:07 dpi

Also, this can be implemented using standard Drupal entity access hooks, and doest not require a feature built in to RNG.

dpi avatar Jul 27 '17 10:07 dpi

So how would I go about setting up that an authenticated user belonging to a particular role can view their own registration but not other registrations?

norwegianblue-nz avatar Aug 30 '17 04:08 norwegianblue-nz

OK - I've figured this out. I was being dumb. What I need is achieved with the event access rules

norwegianblue-nz avatar Oct 04 '17 22:10 norwegianblue-nz