예제 #1
0
        public void AddBookToGroup(int groupId, long bookId, [FromBody] PermissionDataContract data)
        {
            m_authorizationManager.AuthorizeBookOrPermission(bookId, PermissionFlag.AdminProject, PermissionNames.AssignPermissionsToRoles);

            m_permissionManager.AddBookToGroup(groupId, bookId, data);
        }