gitlab-org--gitlab-foss/spec/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 Allow a user to accept/decline terms 2018-05-04 13:54:43 +02:00
ci
clusters
base_policy_spec.rb
deploy_key_policy_spec.rb
deploy_token_policy_spec.rb Increase test suite around deploy tokens behavior 2018-04-06 21:20:17 -05:00
environment_policy_spec.rb
global_policy_spec.rb Enforces terms in the web application 2018-05-04 13:54:43 +02:00
group_policy_spec.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_spec.rb Port read_cross_project ability from EE 2018-02-22 17:11:36 +01:00
issue_policy_spec.rb Port read_cross_project ability from EE 2018-02-22 17:11:36 +01:00
namespace_policy_spec.rb
note_policy_spec.rb Remove edit_note and update_note abilities in favor of admin_note 2018-04-10 15:46:20 +02:00
personal_snippet_policy_spec.rb Prevent awarding emoji when a project is archived 2018-04-11 10:51:43 +02:00
project_policy_spec.rb Prevent awarding emoji when a project is archived 2018-04-11 10:51:43 +02:00
project_snippet_policy_spec.rb
protected_branch_policy_spec.rb Revert exploratory branch restriction policy 2018-03-26 10:29:53 +01:00
user_policy_spec.rb Make the user dropdown reusable 2018-05-04 13:52:55 +02:00