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

Rewrite the permissions system #81

Closed
pjc09h opened this issue May 29, 2023 · 0 comments · Fixed by #78
Closed

Rewrite the permissions system #81

pjc09h opened this issue May 29, 2023 · 0 comments · Fixed by #78
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@pjc09h
Copy link
Contributor

pjc09h commented May 29, 2023

This is a long neglected subsystem that more or less works, but it too fragile for my liking. The old system is wrapped in simple functions like can and cant, that are also available to Twig templates.

The database storage has also been upgraded to JSON as opposed to PHP serialization, providing a possible security benefit in the sense that I can't really trust the legacy codebase not to do something stupid.

It's time for clean and simple permissions and roles overall, e.g., edit own torrents and edit any torrents.

@pjc09h pjc09h added bug Something isn't working enhancement New feature or request labels May 29, 2023
@pjc09h pjc09h self-assigned this May 29, 2023
@pjc09h pjc09h linked a pull request Feb 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant