ds-roles icon indicating copy to clipboard operation
ds-roles copied to clipboard

role toggling

Open rainbreak opened this issue 7 years ago • 4 comments

Consider the ability to toggle a role's authentication across all of its functions.

rainbreak avatar Jun 27 '17 21:06 rainbreak

Then could have e.g. 0 as the special 'public' role, instead of public_capabilities

rainbreak avatar Jun 28 '17 12:06 rainbreak

I'm still not getting the advantage of it. We would still need to add to this special role each function we would want to be accessible by it. Wouldn't be the same?

gbalabasquer avatar Jun 28 '17 14:06 gbalabasquer

Yes, you still have to do that initially. But then toggling the role's access is a single call operation.

rainbreak avatar Jun 28 '17 17:06 rainbreak

We could still have a flag to enable/disable the public_capabilities, but it is true this would be more generic and would allow to toggle any role.

gbalabasquer avatar Jun 28 '17 17:06 gbalabasquer