feat: enhance admin role management and reconciliation features
- Updated AGENTS.md to clarify site admin roles and their associated permissions. - Refactored reconciliation controllers to include admin user validation and improved access control based on admin roles. - Enhanced AdminReconcileJobService to support player-specific reconciliation and site-based job creation. - Removed deprecated rebate commission report functionality from the API and related services. - Improved dashboard overview builders to accommodate new site operator roles and their specific functionalities.
This commit is contained in:
@@ -49,7 +49,7 @@ test('platform role index lists built-in roles and custom system roles', functio
|
||||
->pluck('slug')
|
||||
->all();
|
||||
|
||||
expect($slugs)->toContain('super_admin', 'site_admin', 'agent', 'legacy_custom_ops');
|
||||
expect($slugs)->toContain('super_admin', 'site_admin', 'site_finance', 'site_cs', 'agent', 'legacy_custom_ops');
|
||||
});
|
||||
|
||||
test('admin can create custom platform role but not reserved slugs', function (): void {
|
||||
|
||||
Reference in New Issue
Block a user