7684217d68
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. |
||
---|---|---|
.. | ||
application_setting | ||
ci | ||
clusters | ||
project_policy | ||
base_policy.rb | ||
commit_status_policy.rb | ||
deploy_key_policy.rb | ||
deploy_token_policy.rb | ||
deployment_policy.rb | ||
environment_policy.rb | ||
external_issue_policy.rb | ||
global_policy.rb | ||
group_label_policy.rb | ||
group_member_policy.rb | ||
group_policy.rb | ||
issuable_policy.rb | ||
issue_policy.rb | ||
merge_request_policy.rb | ||
namespace_policy.rb | ||
nil_policy.rb | ||
note_policy.rb | ||
personal_snippet_policy.rb | ||
project_label_policy.rb | ||
project_member_policy.rb | ||
project_policy.rb | ||
project_snippet_policy.rb | ||
protected_branch_policy.rb | ||
user_policy.rb |