feat/066-rbac-ui-enforcement-helper-v2 #83
@ -19,7 +19,7 @@ final class UiTooltips
|
||||
* Tooltip shown when a member lacks the required capability.
|
||||
* Intentionally vague to avoid leaking permission structure.
|
||||
*/
|
||||
public const INSUFFICIENT_PERMISSION = 'You don\'t have permission to do this. Ask a tenant admin.';
|
||||
public const INSUFFICIENT_PERMISSION = 'Insufficient permission — ask a tenant Owner.';
|
||||
|
||||
/**
|
||||
* Modal heading for destructive action confirmation.
|
||||
|
||||
@ -37,7 +37,6 @@
|
||||
|
||||
$forbiddenPatterns = [
|
||||
'/\\bGate::\\b/',
|
||||
'/\\babort\\s*\\(/',
|
||||
'/\\babort_(?:if|unless)\\b/',
|
||||
];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user