ggascoigne / amber

https://amberconnw.org
MIT License
3 stars 0 forks source link

Add role that only can access reports #47

Closed evoskamp closed 1 year ago

evoskamp commented 1 year ago

Execute on database:

INSERT INTO role (id, authority) VALUES(5, 'ROLE_REPORTS');

This change allows assigning a role of ROLE_REPORTS to a user and they get the Reports link in the left bar and access to the download reports only.

N.B. I would remove Perms.Reports from Roles.ROLE_GAME_ADMIN and instead assign a user that needs both both the roles of ROLE_GAME_ADMIN and ROLE_REPORTS, but that may break ACNW.

Resolves: #43

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
amber-acus ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 8, 2023 at 8:46PM (UTC)
amberconnw ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 8, 2023 at 8:46PM (UTC)