We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90236ed commit 8dc9c98Copy full SHA for 8dc9c98
src/Permission.php
@@ -27,6 +27,8 @@
27
* @method static bool removePolicy(mixed ...$params) 当前策略移除授权规则
28
* @method static array getAllRoles() 获取所有角色
29
* @method static array getPolicy() 获取所有的角色的授权规则
30
+ * @method static bool updatePolicies(array $oldPolices, array $newPolicies) 更新策略
31
+ * @method static bool removePolicies(array $rules) 删除策略
32
* @method static array getRolesForUser(string $name, string ...$domain) 获取用户具有的角色
33
* @method static array getUsersForRole(string $name, string ...$domain) 获取具有角色的用户
34
* @method static bool hasRoleForUser(string $name, string $role, string ...$domain) 确定用户是否具有角色
0 commit comments