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

Support standard set operations for permission data #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

VisenP
Copy link
Contributor

@VisenP VisenP commented Apr 12, 2023

This PR adds support for performing set operations on permissions such as union, intersection and difference. The main use case of this would be to compare different permission data.

Copy link
Contributor

@Antony1060 Antony1060 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be beneficial to use a more general terminology. E. g. joinPermissions instead of union and commonPermissions instead of intersection.

Copy link
Contributor

@Antony1060 Antony1060 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • rename as described in the comment above
  • update README
  • implement these in createPermissions

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