You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
Hi,
I think it would be great to add some other features to the permissions :
Be able to retrieve all users and groups having a specific permission ( $permission->users() for example)
When you delete a permission, you have to delete it in all users and groups containing this permission, for example : foreach ($this->users() as $user) {
$user->setPermissionAttribute([this->name => 0]);
$user->save();
}
What do you think ?
The text was updated successfully, but these errors were encountered:
Hi @MrJuliuss
May I ask why we're heading to PHP5.4 in Syntara 1.2 branch? The Laravel 4.1 seems not to require 5.4, the least is 5.3.7 as I have checked new docs.
@jgoux Hi, i have some problems with your suggestion :
permissions stored in "permissions" field of users and groups, and if i want to retrieve all users/groups which uses a permission i must look in all users/groups. its a problem with the database of sentry 2.
i will think of a solution, but i can't promise anything ;)
Hi,
I think it would be great to add some other features to the permissions :
foreach ($this->users() as $user) {
$user->setPermissionAttribute([this->name => 0]);
$user->save();
}
What do you think ?
The text was updated successfully, but these errors were encountered: