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

Add user api #3

Open
hadimansouri opened this issue Nov 15, 2017 · 1 comment
Open

Add user api #3

hadimansouri opened this issue Nov 15, 2017 · 1 comment

Comments

@hadimansouri
Copy link
Member

Add user API to manage users of each tenant in super-tenant

@mostafabarmshory
Copy link
Member

mostafabarmshory commented Nov 16, 2017

Member is a relation between user and tenant. So we can manage this relation as resource on the server. I suggest the following API:

/saas/member/{find, new, id}
/saas/tenant/{id}/member/{find, new, id}

Member is:

id
user_id
role_id
  • user_id : id of a user
  • use_login: login name of a user
  • role_id: id of a role
  • role_name: name of a role (pluf.owner)

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

2 participants