1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-28 23:14:51 +09:00

Allow group admins to create projects and repos under group

This commit is contained in:
fr33domlover 2016-06-07 05:23:00 +00:00
parent dd27f9d5b9
commit eb6fa307b3

View file

@ -142,16 +142,16 @@ instance Yesod App where
(ProjectRoleOpsR shr _rl , _ ) -> personOrGroupAdmin shr
(ProjectRoleOpNewR shr _rl , _ ) -> personOrGroupAdmin shr
(ReposR shar , True) -> person shar
(RepoNewR user , _ ) -> person user
(ReposR shr , True) -> personOrGroupAdmin shr
(RepoNewR shr , _ ) -> personOrGroupAdmin shr
(RepoR shar _ , True) -> person shar
(RepoEditR shr _rp , _ ) -> person shr
(RepoDevsR shr _rp , _ ) -> person shr
(RepoDevNewR shr _rp , _ ) -> person shr
(RepoDevR shr _rp _dev , _ ) -> person shr
(ProjectsR shar , True) -> person shar
(ProjectNewR user , _ ) -> person user
(ProjectsR shr , True) -> personOrGroupAdmin shr
(ProjectNewR shr , _ ) -> personOrGroupAdmin shr
(ProjectR shr _prj , True) -> person shr
(ProjectEditR shr _prj , _ ) -> person shr
(ProjectDevsR shr _prj , _ ) -> person shr