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 admin API like Google does it for its services #52

Open
labkode opened this issue Dec 13, 2019 · 2 comments
Open

Create admin API like Google does it for its services #52

labkode opened this issue Dec 13, 2019 · 2 comments

Comments

@labkode
Copy link
Member

labkode commented Dec 13, 2019

  • Account transfers
  • Integration with other deployed system for user lifecycle management
@ishank011
Copy link
Contributor

Hi @refs let's carry forward the discussion regarding the admin API here.

The points mentioned in the ADR look quite good. If I'm not mistaken, the CS3APIs admin service would look like the AccountsServiceHandler interface.

A few questions:

  • We're giving the option of configuring different backends in OCIS itself - ldap, glauth or the reva user provider via CS3APIs. Would it make sense to delegate this whole thing to reva? Might lead to less code duplication. We already have the ldap driver, will need to add the glauth drop-ins. On the other hand, we might introduce concept and pieces of code in reva which don't make sense to be present there.
  • "User permissions for roles are always managed in oCIS (settings service) because they are specific to oCIS." How would we ensure that proper roles are assigned in ocis if the users backend doesn't support that? This question comes from the recent issue we faced in ocis User endpoint returns 401 owncloud/ocis#1825.
  • The user and group provider services currently run pretty separately from one another. Once we introduce the admin service, I would like that these three be tied together somehow to ensure consistency. This is just a thought though and can be ignored for later.

@refs
Copy link
Member

refs commented Apr 7, 2021

the CS3APIs admin service would look like the AccountsServiceHandler interface.

This is what I'm modeling first, correct :)

[...] Once we introduce the admin service, I would like that these three be tied together somehow to ensure consistency

I considered merging groups and users within the admin service in the upcoming proposal. They will be added.

How would we ensure that proper roles are assigned in ocis if the users backend doesn't support that?

For this, we have another concepting ticket opened that will be as well tackled in this sprint. It is conveniently named [Proposal] Add roles API to CS3 APIs

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

No branches or pull requests

3 participants