private void CreateRolePermissions(string roleId, PermissionUtils.Permission p) { var cs = PermissionUtils.GrantPermissionAndChildPermissionsToRole(p, roleId); foreach (var c in cs) { _rolePermissionApplicationService.When(c); } }
private void CreateRolePermissions(string roleId, PermissionUtils.Permission p) { var cs = PermissionUtils.GrantPermissionAndChildPermissionsToRole(p, roleId); foreach (var c in cs) { _rolePermissionApplicationService.When(c); } }