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

Permissions and Roles #46

Closed
bitfl0wer opened this issue May 12, 2023 · 1 comment · Fixed by #93, #94 or #99
Closed

Permissions and Roles #46

bitfl0wer opened this issue May 12, 2023 · 1 comment · Fixed by #93, #94 or #99
Assignees
Milestone

Comments

@bitfl0wer
Copy link
Member

One should be able to modify, create and delete Roles and their permissions. This extends to modifying role and user permissions on channels and channel categories.

@bitfl0wer
Copy link
Member Author

For Permissions: Right now, there exists an implementation of Spacebars bitwise permission flags, called src/types/entities/role.rs/PermissionFlags. I'd like to extend this in a way which makes it easy to
a) Calculate the actual permissions from a given String/u64 of permission flags
b) Do the reverse: Combine permissions to make a given String/u64 of permission flags.
Leaving this comment here as a sort of sticky note for myself.

This was linked to pull requests Jun 9, 2023
@bitfl0wer bitfl0wer removed a link to a pull request Jun 9, 2023
This was linked to pull requests Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment