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

Query Side for User Schemas / Objects #7307

Closed
2 tasks done
Tracked by #6433
hifabienne opened this issue Jan 29, 2024 · 3 comments · Fixed by #7614
Closed
2 tasks done
Tracked by #6433

Query Side for User Schemas / Objects #7307

hifabienne opened this issue Jan 29, 2024 · 3 comments · Fixed by #7614

Comments

@hifabienne
Copy link
Member

hifabienne commented Jan 29, 2024

As a ZITADEL Admin I am able to read User Schemas through the API, to be able to find out how my users objects should look like and how the different types of users can authenticate.

Acceptance Criteria

  • ListUserSchemas: lists latests states schemas
  • UserSchemaByID: shows details of a specific schema

Additional Information

User Schema

  • id: read only unique identifier
  • state: state of the schema
  • type: single word which describes the schema
  • revision: read only version of the schema, each update increases the revision
  • schema: describes the user
  • possibleAuthenticators: defines the possible types of authenticators. this allows creating different user types like human/machine without usage of actions to validate possible authenticators. Removal of an authenticator does not remove the authenticator on a user
    • TODO: move user.isOrgSpecific to here (on username and idp)

permission

Following permissions are allowed r (4), w (2), rw (6)

  • admin: defines the permissions of the admin
  • user: defines the user of the user
@hifabienne
Copy link
Member Author

@eliobischof @stebenz can you please estimate this issue?

@stebenz
Copy link
Collaborator

stebenz commented Jan 30, 2024

Depend on #7306 for content
depend on #7314 for possibleAuthenticators

technical estimation:

  • projection definition: 1d
  • unit tests: 1d
  • permission checks: 1d
  • proto definitions: 1d
  • integration tests: 1d

Copy link

github-actions bot commented Apr 2, 2024

🎉 This issue has been resolved in version 2.49.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

4 participants