cleaned up code for permissions for assignees