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

[Config] New sub/Project - auto-populate for current User ? #7459

Closed
christinerogers opened this issue Jun 1, 2021 · 0 comments · Fixed by #7505
Closed

[Config] New sub/Project - auto-populate for current User ? #7459

christinerogers opened this issue Jun 1, 2021 · 0 comments · Fixed by #7505
Labels
Discussion Required PR or issue awaiting the resolution of a discussion between all involved parties Proposal PR or Issue suggesting an improvement that can be accepted, rejected or altered

Comments

@christinerogers
Copy link
Contributor

christinerogers commented Jun 1, 2021

Notes from loris-dev mailing list thread late May 2021 and LORIS meeting discussion June 1 :

Current situation:
When a new Project or subproject is created in the front end, no user can see it in the User Accounts page (not even admin or any superuser).
To affiliate this new sub/project with any users, a db admin must go into the back-end mysql db and link it to a front-end user ID, manually inserting the record into a database _rel table.

For discussion / roadmap prioritization and assignment : possible solution is--
The user who created the sub/project should be able to see it in the User Account module. This would involve:

  • in Config module, when a new subproject is created, affiliate the Current User to this subproject.
  • in Config module, when a new project is created, affiliate the Current User to this project.

Ideally, all superusers might automatically be able to see this new sub/project - however we are disabling/decreasing superuser checks in the codebase, so we don't want to go this way.

cc @alfredomp @ejoh1101 @driusan who asked/participated in the Loris-dev thread.

@christinerogers christinerogers added Discussion Required PR or issue awaiting the resolution of a discussion between all involved parties Proposal PR or Issue suggesting an improvement that can be accepted, rejected or altered labels Jun 1, 2021
driusan pushed a commit that referenced this issue Jul 8, 2021
Fixes issue where a newly created project is hidden from all users including the one who created the project and all admins because no one has the project, by assigning it to the user who created it.

Resolves #7459
@ridz1208 ridz1208 closed this as completed Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Required PR or issue awaiting the resolution of a discussion between all involved parties Proposal PR or Issue suggesting an improvement that can be accepted, rejected or altered
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants