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

Feature request: subinstitutions/subdelegates #433

Open
DanielTosello opened this issue May 1, 2018 · 7 comments
Open

Feature request: subinstitutions/subdelegates #433

DanielTosello opened this issue May 1, 2018 · 7 comments

Comments

@DanielTosello
Copy link
Contributor

Long story short: Some politicking has created LIEF funding conditions for us in which certain sections of our compute have approval oversight from specific departmental people, and they're under the naive impression they want institutional delegate powers but have also been clear they think they shouldn't be bombarded with spam, but ALSO don't want to have to wait to have requests manually routed. I guess we also would prefer not to have to take time to manually route them too.

The cleanest way i can see of building the functionality they want without breaking heaps of stuff is to add another layer to the delegation system.

grumble

Components required:

  • ability to create a set of department-level sub-institutes which are full institute objects with a parent institute. Also, admin interfaces for creating & associating sub-institutions, etc.
  • ability to have parent delegates grant sub-delegate capability over sub-institutes.
  • additions to forms that will show a dropdown list of sub-institutions when a user is applying for access, etc.

Let me know what you think, @brianmay. We'll be building this, but i want your opinion on how it should fit into the existing architecture or whether there's a better approach to this.

@brianmay
Copy link
Contributor

brianmay commented May 3, 2018

Not sure if I understand 100%, but makes me think of #222, which I just closed 6 days ago :-)

@brianmay
Copy link
Contributor

brianmay commented May 3, 2018

Am having trouble understanding the subdelegates requirements.

@DanielTosello
Copy link
Contributor Author

DanielTosello commented May 3, 2018 via email

@brianmay
Copy link
Contributor

brianmay commented May 22, 2018

Storing a tree structure in SQL without having slow queries for deeply nested structures is a non-trivial operation, there are some Django libraries designed to try and help this. Common code picked one for Karaage 4, but it seems like it wasn't well maintained.

At the moment, we have a department field for users but it is a free form text field. Maybe if we changed this to port to a Department database object instead? UI might be interesting though, having institute and department both on the one page, with (currently) no JavaScript functionality.

@DanielTosello
Copy link
Contributor Author

DanielTosello commented May 23, 2018 via email

@brianmay
Copy link
Contributor

As this is two years old now (almost), just checking, is this still desirable?

@DanielTosello
Copy link
Contributor Author

DanielTosello commented Mar 26, 2020 via email

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

No branches or pull requests

2 participants