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

Create the front-end for the group request system #96

Open
hakasapl opened this issue Jul 17, 2023 · 1 comment
Open

Create the front-end for the group request system #96

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

Comments

@hakasapl
Copy link
Collaborator

  • The My PIs page becomes the My Groups page. On that page all groups the user is a member of will be listed, with the type being listed as well. The type's background should be the color defined in SQL, with 5px border radius. Each group should have a "view group" button next to it, but the entire line should activate said button.
  • Clicking on a group on the my groups page now goes to a new page called view_group.php which will list all the members of the groups, and their assigned roles. On this page roles that have the approve_user or deny_user perm should be able to see pending group requests and be able to approve/deny them. In addition, this page should allow users with the grant permission to assign roles to other users.
  • We can remove the expand arrows from the group.php page.
  • The add group button will largely work the same, except that the search should now return the values of any group in the ou=unity_groups ou, instead of just pi groups like it is now.
  • There will be a new "Request New Group" page on the menubar where the user will select from one of the available group types (radio button) from the sql table. The group name cannot have spaces (we will add support for display names later). The frontend should be able to tell the user if a group name is already taken without a page refresh (AJAX calls). This page should also ask for start and end dates for a group if that flag is defined in sql.
  • The "Request PI Account" button on the account settings page now redirects to the request new group page, but with the PI group option pre-selected for the user.
  • The admin panel should allow admins to approve/deny groups, add users to groups manually, remove groups from users, etc. No more dropdown pi group, in this case clicking on the group will open a similar page to view_group.php

We will need to change unityGroup class to support these changes, which will be a different issue.

@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
@georgiastuart
Copy link

#100 is likely related here.

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

3 participants