Skip to content

Bulk Grant Feature #30

Description

@rreinhardt9

Similar to #22 , it would be nice to be able to grant a permission in bulk.

For example, if a new feature is rolled out that many groups of actors should have enabled for them, it would be nice to say something like SomePermissionPolicy.grant_all!(companies, :a_permission).

Some potential challenges might be do we accept mixed types of actors like SomePermissionPolicy.grant_all!(groups_and_users, :a_permission) where it's a mix of Group and User actors? Or does this method accept only groups of actors of the same type for simplicity.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions