Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Project Forum Project Forum
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 116
    • Issues 116
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 14
    • Merge requests 14
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
    • Model experiments
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • EIPEIP
  • Project ForumProject Forum
  • Project ForumProject Forum
  • Issues
  • #326

Course Specific Role for non-existing users

It should be possible to invite someone to a course specific role without that person being a user in the system yet. When doing so, a name of this person should also be supplied as placeholder until they make an account. When they make an account, the role should be linked to the proper user.

Similar behavior exists already for the role invitations for companies. It may be possible to copy some of that logic / abstract this logic into a concern.

  • Add LDAP integration (see !630 (closed))
  • Create a method to create users by their TU Delft email address based on LDAP info
  • When an email address of a non-existent user is entered and that email address ends in "@tudelft.nl" or "@student.tudelft.nl"
  • Add "from-ldap" status to created_via in user
  • Assign "from-ldap" status to the newly-created user
  • Handle users with a different LDAP email than the one in projectforum

.

  • Add a name field to course specific roles on project proposal (do not use when user exists)
  • Add name and email fields to user course specific role
  • Make .user return a fake user with that name and email with no id (or -1, check) - change belongs_to :user, make optional and create a .user method
  • Make the name of the user be appended by " (Unregistered)" when accessing a fake user via .user
  • When a user registers, actually link user course specific roles to that new user based on the email

Related to #249 (closed)

Edited Mar 30, 2022 by Martin Mladenov
Assignee
Assign to
Time tracking