Andrew Kingston
663c0f20af
Don't use display names as role names, and restore usual names for built in roles
2024-09-13 14:14:36 +01:00
mike12345567
4952747ae9
Taking working from new-rbac-ui branch and separating it into its own PR, so that other work can be based on this from master.
2024-09-12 15:40:37 +01:00
mike12345567
e89042b2e3
Fixing some role typing issues, as well as fixing an issue with the validator not allowing the structure that roles are expected to have.
2024-09-11 18:06:05 +01:00
Sam Rose
217b39c232
Reenable no-unused-vars
2024-03-20 11:46:39 +00:00
Sam Rose
b7e5d9f71a
Sync all roles on any role change.
2024-03-06 16:58:51 +00:00
Sam Rose
2b206f2105
Fix the TODO I left myself last night.
2024-03-06 10:00:02 +00:00
Sam Rose
11704ea983
TODO.
2024-03-05 17:40:38 +00:00
Sam Rose
182a1df960
Fix the bug, I think.
2024-03-05 17:35:04 +00:00
Sam Rose
fced2f3696
Respond to PR feedback.
2024-03-05 09:23:48 +00:00
Sam Rose
9d8c18337d
Type role controller.
2024-03-04 16:42:41 +00:00
Sam Rose
fdfda100c1
Ensure that the DB always returns Documents.
2023-11-07 18:14:52 +00:00
melohagan
9616e8e551
Custom role navigation links ( #12056 )
...
* Refactor routing unit tests
* Filter out higher level roles in preview
* unit test
* Refactor
---------
Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-10-26 15:28:12 +00:00
mike12345567
395969e0f0
Fixing build issue,.
2023-09-27 16:24:12 +01:00
mike12345567
e916178046
Adding test case for new endpoint and covering public, builder and normal roles.
2023-09-27 15:46:04 +01:00
mike12345567
bb2892cbc2
Getting client library loading in Webstorm debug, as well as adding accessible roles endpoint.
2023-09-27 14:21:25 +01:00
Adria Navarro
2698e47ec4
Type internal db.get
2023-07-18 11:41:51 +02:00
mike12345567
81c8bee81e
Quick fix to stop custom role names from being updated.
2023-06-28 17:17:24 +01:00
mike12345567
fc537a0aab
Further PR comments.
2023-06-27 14:56:24 +01:00
mike12345567
4d2aa2a67b
PR comments.
2023-06-27 12:45:00 +01:00
mike12345567
7e79c827a7
Test fixes, as well as issue discovered by test around _id generation and event triggering.
2023-06-26 19:10:04 +01:00
mike12345567
baecab785d
Handling the removal of the role_ prefix where applicable so that new role IDs present in the exact same way as built in roles.
2023-06-22 18:02:35 +01:00
mike12345567
bedc8e5cce
Fix for custom roles that have not been published causing users to be unable to access an app completely. They should instead be treated as public users as their role isn't valid.
2023-06-12 18:39:30 +01:00
mike12345567
92210144ff
More controller typescript conversions.
2022-11-22 16:52:25 +00:00