Move Permission Set over to DDD

- Add Permission Set Repository, Model and Collection
- Mark static PermissionSet method as deprecated
This commit is contained in:
Hypolite Petovan 2020-01-13 22:20:18 -05:00
parent 5ab898f67f
commit 1c50bc58e4
5 changed files with 184 additions and 61 deletions

View file

@ -252,7 +252,7 @@ class ACL
);
$acl_yourself = Contact::selectFirst($fields, ['uid' => $user_id, 'self' => true]);
$acl_yourself['name'] = L10n::t('Yourself');
$acl_yourself['name'] = DI::l10n()->t('Yourself');
$acl_contacts[] = $acl_yourself;