Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Anonymous Ticket Portal Anonymous Ticket Portal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • TPA
  • Anonymous Ticket PortalAnonymous Ticket Portal
  • Merge requests
  • !61

Created User interface for GL Account requests

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged MariaV requested to merge gl_account_users into master Jan 25, 2021
  • Overview 0
  • Commits 21
  • Pipelines 0
  • Changes 10

Created User interface for gitlab account requests. GitlabAccountRequest model now has option one-to-one field for UserIdentifier (linked_user), so that users will be able to check the status of their GitlabAccountRequest, lowering moderator overhead--but users also have the ability to create GitlabAccount requests anonymously, if privacy is more important to them than being able to check on their request.

Created several two new view and url paths for creating account requests with and without user identifiers. Refined the PassUserIdentifierMixin to check if user_identifier in kwargs and pass if not, so that does not break when not. Adjusted success urls to route differently depending on if user_identifier was passed in kwargs.

Refactored username validation decorator by pulling out logic to check usernames against dictionary as a discrete function, so that it could be called outside of decorator (check_username).

Added {% if form.instance.linked_user %} logic to moderator template to display linked user_identifiers if present on Gitlab Account Requests.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gl_account_users