Jacopo
e2056f08f0
Hides Close MR button on merged MR
...
When a Merge request is merged, shows only the Report abuse menu item
in the dropdown menu instead of showing the close_reopen_report toggle
with an unusable Close button.
The Report abuse is still hidden when the author of the Merge request
is the current_user.
Hides the Reopen button on a closed and locked issue when the
issue.author is not the current_user
2018-10-02 16:17:55 +02:00
Jarka Kadlecová
d729ea19da
Restrict reopening locked issues for issue authors
2018-09-04 12:25:18 +02:00
Bob Van Landuyt
148816cd67
Port `read_cross_project` ability from EE
2018-02-22 17:11:36 +01:00
blackst0ne
27c95364b5
Replace '.team << [user, role]' with 'add_role(user)' in specs
2017-12-22 19:18:28 +11:00
Robert Speicher
72a7b30c9f
Change all `:empty_project` to `:project`
2017-08-02 17:47:31 -04:00
Rémy Coutable
ddccd24c13
Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
http://jneen.net/
963b374dc7
update the specs to not require a set to be returned
2017-06-27 12:41:54 -07:00
Clement Ho
c4094b7ec4
Fix specs
2017-05-04 22:34:15 -05:00
Sean McGivern
5069682d8e
Enable RSpec/FilePath cop
...
- Ignore JS fixtures
- Ignore qa directory
- Rewrite concern specs to put concern name first
2017-04-26 12:50:32 +01:00
Robert Speicher
90e802cd96
Use `:empty_project` where possible in policy specs
2017-03-27 18:45:36 -04:00
Yorick Peterse
3c957c0066
Added tests for IssuePolicy
2016-11-07 12:49:24 +01:00