File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 33
33
* @method static bool addRoleForUser(string $user, string $role, string ...$domain) 给用户添加角色
34
34
* @method static bool addRolesForUser(string $user, array $roles, string ...$domain)
35
35
* @method static bool addPermissionForUser(string $user, string ...$permission) 赋予权限给某个用户或角色
36
- * @method static bool addPermissionsForUser() 赋予用户或角色多个权限。 如果用户或角色已经有一个权限,则返回 false (不会受影响)
36
+ * @method static bool addPermissionsForUser(string $user, array ...$permissions ) 赋予用户或角色多个权限。 如果用户或角色已经有一个权限,则返回 false (不会受影响)
37
37
* @method static bool deleteRoleForUser(string $user, string $role, string $domain) 删除用户的角色
38
38
* @method static bool deleteUser(string $user) 删除用户
39
39
* @method static bool deleteRolesForUser(string $user, string ...$domain) 删除某个用户的所有角色
You can’t perform that action at this time.
0 commit comments