Commit graph

19 commits

Author SHA1 Message Date
Douwe Maan
ecb83afabc Refactor ability changes 2015-11-17 15:49:37 +01:00
James Lopez
56ea71a3b1 fixing rubocop - random code not related to the changes 2015-11-12 12:29:01 +00:00
James Lopez
e11bfa6b86 fixing rubocop indents 2015-11-12 08:44:00 +00:00
James Lopez
77dd561796 fixing rubocop indents 2015-11-12 08:43:30 +00:00
James Lopez
c6a0f109cd refactored code as projects only have one owner. Kept some refactoring in place (has_owners concern) 2015-11-11 15:42:27 +00:00
James Lopez
1b14bc5957 refactored permissions and added update_project_member ability logic. Also refactored owner methods to a concern. 2015-11-03 11:11:56 +00:00
James Lopez
6aa9c21ac0 fix issue with adding members to project (spotted by test) 2015-10-30 19:55:19 +00:00
James Lopez
de990aa158 fixed last group owner issue and added test 2015-10-29 16:10:27 +00:00
Stan Hu
a3157626f1 Re-annotate models 2015-05-03 13:38:27 -07:00
Douwe Maan
c1531fe1d8 Add spinach tests around accepting and declining invitations. 2015-04-14 18:04:29 +02:00
Douwe Maan
0013ea5130 Remove duplication between Group and ProjectMember. 2015-04-14 12:41:19 +02:00
Douwe Maan
e50556fcc8 Let invites be declined. 2015-04-14 12:08:11 +02:00
Douwe Maan
39f389ae0f Add invites controller. 2015-04-14 12:07:33 +02:00
Douwe Maan
629fa7fbe3 Add invite logic to Member. 2015-04-14 12:06:43 +02:00
Douwe Maan
2b2bd402dc Track who created a group or project member. 2015-04-14 12:06:42 +02:00
Dmitriy Zaporozhets
62ed1c537e Explicitly define ordering in models using default_scope 2015-02-05 14:20:55 -08:00
Valery Sizov
82c938ad75 annotate 2014-10-09 18:22:20 +03:00
Dmitriy Zaporozhets
c69b8e0459
Huge replace of old users_project and users_group references
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-14 19:32:51 +03:00
Dmitriy Zaporozhets
757426dbb1
Add Member AR model
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-14 17:54:10 +03:00