Commit graph

6 commits

Author SHA1 Message Date
Bob Van Landuyt
f7f13f9db0 Block access to API & git when terms are enforced
When terms are enforced, but the user has not accepted the terms
access to the API & git is rejected with a message directing the user
to the web app to accept the terms.
2018-05-10 17:02:27 +02:00
Bob Van Landuyt
10aa55a770 Allow a user to accept/decline terms
When a user accepts, we store this in the agreements to keep track of
which terms they accepted. We also update the flag on the user.
2018-05-04 13:54:43 +02:00
Bob Van Landuyt
17b25bd263 Make the user dropdown reusable
We will reuse the the dropdown, but exclude some menu items based on
permissions.

So moving the menu to a partial, and adding checks for each menu item here.
2018-05-04 13:52:55 +02:00
Bob Van Landuyt
148816cd67 Port read_cross_project ability from EE 2018-02-22 17:11:36 +01:00
Nick Thomas
963052bf3c Convert app/views/profiles/show.html.haml to bootstrap_form 2017-06-22 15:42:44 +01:00
Toon Claes
0759db802f Move user_link to generic UsersHelper
Make the user_link helper more generic to be used for objects other
than pipelines.
2017-03-23 22:21:00 +01:00