Skip to content

one user can own multiple PI groups#737

Draft
simonLeary42 wants to merge 20 commits into
mainfrom
own-multiple-groups
Draft

one user can own multiple PI groups#737
simonLeary42 wants to merge 20 commits into
mainfrom
own-multiple-groups

Conversation

@simonLeary42

@simonLeary42 simonLeary42 commented May 29, 2026

Copy link
Copy Markdown
Member

Allows one user to be the owner of multiple PI groups. This is an experiment. It provides relatively little benefit and a relatively large amount of breaking changes.

  • this is branched from add group owner to LDAP schema, change objectClass #736, should be rebased later
  • PI group requests in SQL must now contain the GID as well as the owner UID
    • the uid column in the requests SQL table is no longer well-named
    • the request-type constant REQUEST_BECOME_PI is now REQUEST_CREATE_PI_GROUP
  • PI-group-request-related functions in UnityGroup now require the owner UID as an argument
  • the old 1:1 owner UID <-> PI group GID conversion process is now called "namesake"
    • the constant PI_PREFIX is now NAMESAKE_PI_PREFIX
    • the function GID2OwnerUID is now NamesakeGID2OwnerUID
    • the function OwnerUID2GID is now OwnerUID2NamesakeGID
  • removed dummy course group owners
  • the unity-course.php worker now prompts for an admin username (owner) and a faculty username (manager)
  • the Unity admin involved with a course group can no longer benefit from plus addressing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant