Dan Brown
41c3ed154b
Content Permissions API: Fixed param combination bug
...
Fixes issue where providing owner_id alongside certain
fallback_permissions would cause the owner change not to take affect,
due to bad variable shadowing.
For #4323
2023-06-20 14:13:26 +01:00
Dan Brown
295cd01605
Played around with a new app structure
2023-05-17 17:56:55 +01:00
Dan Brown
0de7530059
Tweaked content permission endpoints, covered with tests
2023-03-13 20:06:52 +00:00
Dan Brown
c42956bcaf
Started build of content-permissions API endpoints
2023-03-13 13:18:33 +00:00
Dan Brown
0f68be608d
Removed most usages of restricted entitiy property
2022-10-10 16:58:26 +01:00
Dan Brown
bf591765c1
Reorgranised permission routes into their own controller
...
Also introduced helpers for getting entities by slugs since we do it in
so many places.
2022-10-09 16:36:03 +01:00
Dan Brown
aee0e16194
Started code update for new entity permission format
2022-10-08 13:52:59 +01:00
Dan Brown
9079700170
Refactored the activity service
...
- Renamed to "ActivityLogger" to be more focused in usage.
- Extracted out query elements to seperate "ActivityQueries" class.
- Removed old 'addForEntity' activity method to limit activity record
points.
2021-12-11 17:29:33 +00:00
Dan Brown
934a833818
Apply fixes from StyleCI
2021-06-26 15:23:15 +00:00
Dan Brown
b43f997dab
Added manual type conversion to fix failing tests
2021-01-01 18:38:54 +00:00
Dan Brown
99b14621f9
Moved permission updating to its own tool
...
And added support for owner changing.
2021-01-01 17:49:48 +00:00