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

List pico should give out a fresh ECI for each participant session #83

Open
b1conrad opened this issue Jun 22, 2022 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@b1conrad
Copy link
Member

The ECI used now is too powerful to be given out to every participant.

Tagged byu-hr-oit
Event policy allows byu_hr_oit:*
Query policy allows byu.hr.oit/*

Suggest tagging the ECI generated for a session with both byu-hr-oit and the person ID and giving it a very restricted policy, to just the events and queries that it might need.

@b1conrad
Copy link
Member Author

Event policy must allow
byu_hr_oit:opt_in
byu_hr_oit:person_deletion_request (type should be renamed opt_out for consistency?)

Query policy must allow
byu.hr.oit/index

Hm. When the participant logs in, we know already which of opt_in and opt_out would apply, so we could issue a channel permissioned accordingly.

@b1conrad b1conrad added the enhancement New feature or request label Jun 22, 2022
@b1conrad
Copy link
Member Author

With the person id in the tags of the session channel, we have a second witness to this id, to validate opting in/out operations.

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

No branches or pull requests

1 participant