예제 #1
0
        public async Task <bool> IsAllowedToTaskMooving(Specification <ProjectParticipation> spec)
        {
            ProjectParticipation projectParticipation = await GetHighestParticipation(spec);

            return(ProjectActionPolicy.TaskMooving(projectParticipation.ParticipationType));
        }
예제 #2
0
        public async Task <bool> IsAllowedToUserManagement(Specification <ProjectParticipation> spec)
        {
            ProjectParticipation projectParticipation = await GetHighestParticipation(spec);

            return(ProjectActionPolicy.UserManagement(projectParticipation.ParticipationType));
        }
예제 #3
0
        public async Task <bool> IsAllowedStatusCRUD(Specification <ProjectParticipation> spec)
        {
            ProjectParticipation projectParticipation = await GetHighestParticipation(spec);

            return(ProjectActionPolicy.StatusCRUD(projectParticipation.ParticipationType));
        }