Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the UnityGroup class to be more generic #97

Open
hakasapl opened this issue Jul 17, 2023 · 0 comments
Open

Update the UnityGroup class to be more generic #97

hakasapl opened this issue Jul 17, 2023 · 0 comments
Assignees
Labels
feature New feature or request
Milestone

Comments

@hakasapl
Copy link
Collaborator

In this system "PI" becomes a group type instead of a hardcoded group.

The UnityGroup class will need to be updated to be more generic to fit with the above model. In addition, that class will now need to check permissions for each operation, depending on who calls the operation to be made. This should also be part of the frontend, but the backend needs to verify in addition.

Currently, all pi groups are stored in ou=pi_groups - this will be renamed to ou=unity_groups, and will have all the old pi groups as well as the new group types in it.

Add a new column to the group_types table named prefix. For example, the PI group type's prefix is pi_. That prefix will be assigned at group creation time.

Rename the ou=pi_groups in phpldapadmin to ou=unity_groups to reflect the ldap change. For now you will not be able to add the group type and other custom attributes to ldap. This can be ignored and just mentioned as a comment for now.

@hakasapl hakasapl added this to the Version 1.2.0 milestone Jul 17, 2023
@hakasapl hakasapl added the feature New feature or request label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants