Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Admin backend #73

Closed
nuest opened this issue Jul 13, 2017 · 5 comments
Closed

Admin backend #73

nuest opened this issue Jul 13, 2017 · 5 comments

Comments

@nuest
Copy link
Member

nuest commented Jul 13, 2017

An administrative backend where admin users (high enough levels) can easily change other users's levels would be useful. No more directly going to the database.

It should contain the user information (link to ORCID profile, full name from ORCID, current level), and a nice UI for using some pre-defined user levels, or alternatively entering a specific user level manually.

Reducing a user's level or making her admin should require a confirmation before saving.

API endpoint already exists, see http://o2r.info/o2r-web-api/user/#edit-user

Should we integrate this in this app, or have an independent one?

@jansule
Copy link
Collaborator

jansule commented Jul 13, 2017

If this is only useful for the development, I would suggest to make an independent app.
If this should also be added as a general feature for the platform, it should be integrated.

@nuest
Copy link
Member Author

nuest commented Jul 13, 2017

No, it is not for development, quite the contrary: it is for production.

@MarkusKonk
Copy link

@nuest Shouldn't be too much effort. I will think about how, when, by whom, and let you know next week.

But a few questions for now: How many user levels are there at moment? Why not just giving every registered the rights to submit/create ERCs automatically? What are the differences between users levels?

Regarding integration, it doesn't really matter if it is an independent or separate app as it shouldn't be visible for any other users than the admin. We can discuss the requirements next week.

@nuest
Copy link
Member Author

nuest commented Jul 17, 2017

We have multiple levels spread across several microservices... I'll make a list of the existing ones when we start implementing this. Roughly we have

  • regular user/reader
  • can execute ERC
  • can upload/create ERC
  • can change user levels

Limitation: Because we wanted to have some control over who is uploading stuff, I guess. If we don't do that, we should have some minimal monitoring of what is going on on the platform, see o2r-project/o2r-bouncer#4 & o2r-project/o2r-loader#18

@nuest
Copy link
Member Author

nuest commented Aug 4, 2017

o2r-project/o2r-bouncer#5 is now implemented in bouncer > 0.6.0. Let me know if it works for the admin backend!

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

No branches or pull requests

3 participants