Commit graph

10 commits

Author SHA1 Message Date
Dmitriy Zaporozhets
d304af4bb4
Fix spec message in spec/controllers/oauth/applications_controller_spec.rb
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-09-21 11:03:00 +03:00
Dmitriy Zaporozhets
98a319a482
Always allow user to revoke an authorized application
Even if User OAuth applications setting is disabled in admin settings.

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-09-20 14:02:59 +03:00
Francisco Javier López
7a0bb214f3 Fix OAuth application authorization screen to appear with every access 2018-06-29 08:15:42 +00:00
Bob Van Landuyt
417e3ba8e3 Specify base controller for Doorkeeper
This will make sure the `ApplicantionController#can?` method is
available for views rendering menus based on the current user's abilities.
2018-02-28 12:05:19 +01:00
Mario de la Ossa
eaada9d706 use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
Jacopo
2f40dac352 Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
Oswaldo Ferreira
e561b142fa Backport gitlab-ee!2456 2017-07-27 12:09:46 -04:00
Dmitriy Zaporozhets
c277b2c34d
Add tests for Oauth::AuthorizationsController
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-04-28 15:45:18 +03:00
Z.J. van de Weg
abca19da8b Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
Stan Hu
3b50d96b8a Fix endless redirections when accessing user OAuth applications when they are disabled
Also hides the "Applications" nav button if OAuth applications are disabled by the admin.

Closes #14770
2016-06-08 05:52:04 -07:00