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 Users with User Schemas #7309

Open
2 tasks
Tracked by #6433
hifabienne opened this issue Jan 29, 2024 · 3 comments
Open
2 tasks
Tracked by #6433

Query Side for Users with User Schemas #7309

hifabienne opened this issue Jan 29, 2024 · 3 comments

Comments

@hifabienne
Copy link
Member

hifabienne commented Jan 29, 2024

I am able to request users and get the information to which user schema they apply.

Acceptance Criteria

  • ListUsers: lists users
  • UserByID: shows details of a specific user

Additional Information

User Object

  • id: unchangeble, unique identifier of the system
  • schema:
    • type: schema type of the user (e.g. human/machine)
    • revision: read only, revision of the schema the user was stored the last time (e.g. 4)
  • authenticators: list of possibilites how a user can authenticate itself. there can be multiple authenticators of the same type
  • contact: email and phone of the user if provided
  • state: one of Active, Inactive, Locked, Deleted
  • data/profile/traits: custom fields of a user based on the type (whats the best name for this?)
@hifabienne hifabienne mentioned this issue Jan 29, 2024
21 tasks
@hifabienne hifabienne changed the title Query Side for Users Query Side for Users with User Schemas Jan 29, 2024
@hifabienne
Copy link
Member Author

@stebenz @eliobischof Can you please estimate this issue?

@stebenz
Copy link
Collaborator

stebenz commented Jan 30, 2024

Estimation:

  • projection definition: 1d
  • unit tests: 0,5d
  • proto definitions: 0,5d
  • integration tests: 1d

Summary: 3d

@adlerhurst
Copy link
Member

adlerhurst commented Feb 5, 2024

I added state Initial after our discussion because I think it could make sense to initiate a user if the client of ZITADEL wants to do additional checks like address verification for example.

If an app needs a state, it should add a state to the schema

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

No branches or pull requests

4 participants