gitlab-org--gitlab-foss/app/policies
Bob Van Landuyt 7684217d68 Enforces terms in the web application
This enforces the terms in the web application. These cases are
specced:

- Logging in: When terms are enforced, and a user logs in that has not
  accepted the terms, they are presented with the screen. They get
  directed to their customized root path afterwards.
- Signing up: After signing up, the first screen the user is presented
  with the screen to accept the terms. After they accept they are
  directed to the dashboard.
- While a session is active:
  - For a GET: The user will be directed to the terms page first,
    after they accept the terms, they will be directed to the page
    they were going to
  - For any other request: They are directed to the terms, after they
    accept the terms, they are directed back to the page they came
    from to retry the request. Any information entered would be
    persisted in localstorage and available on the page.
2018-05-04 13:54:43 +02:00
..
application_setting Enforces terms in the web application 2018-05-04 13:54:43 +02:00
ci Update policies to make archived projects completely read-only 2018-04-10 15:46:20 +02:00
clusters This works 2017-10-23 11:36:35 +03:00
project_policy Move ProjectPolicy-class methods into module 2018-04-10 19:43:01 +02:00
base_policy.rb Port read_cross_project ability from EE 2018-02-22 17:11:36 +01:00
commit_status_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
deploy_key_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
deploy_token_policy.rb Addreses backend review suggestions 2018-04-06 21:20:16 -05:00
deployment_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
environment_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
external_issue_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
global_policy.rb moved fork checks into policies 2017-09-29 12:14:39 +01:00
group_label_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
group_member_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
group_policy.rb Fix users not seeing labels from private groups when being a member of a child project 2018-04-23 13:56:38 -03:00
issuable_policy.rb Remove edit_note and update_note abilities in favor of admin_note 2018-04-10 15:46:20 +02:00
issue_policy.rb Fix N+1 in MergeRequestParser 2018-04-05 13:59:05 +01:00
merge_request_policy.rb Fix N+1 in MergeRequestParser 2018-04-05 13:59:05 +01:00
namespace_policy.rb Introduce :read_namespace access policy for namespace and group 2017-11-23 17:44:05 +01:00
nil_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
note_policy.rb Prevent awarding emoji when a project is archived 2018-04-11 10:51:43 +02:00
personal_snippet_policy.rb Prevent awarding emoji when a project is archived 2018-04-11 10:51:43 +02:00
project_label_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
project_member_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
project_policy.rb Prevent awarding emoji when a project is archived 2018-04-11 10:51:43 +02:00
project_snippet_policy.rb convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
protected_branch_policy.rb Revert exploratory branch restriction policy 2018-03-26 10:29:53 +01:00
user_policy.rb Make the user dropdown reusable 2018-05-04 13:52:55 +02:00