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

ACL: use more explicit nonces to calculate the role and params hash #351

Merged
merged 2 commits into from Aug 22, 2018

Conversation

sohkai
Copy link
Contributor

@sohkai sohkai commented Jul 13, 2018

Using 1 and 2 for the nonces seems kind of silly...

This will be a backwards breaking change.

@sohkai sohkai requested review from izqui and bingen July 13, 2018 09:13
Copy link
Contributor

@bingen bingen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@izqui
Copy link
Contributor

izqui commented Jul 16, 2018

As you point out, upgrading an ACL app instance to this new version of the ACL will have catastrophic consequences (as all current roles and permissions will appear as never having been set). We need to make this very explicit, and discourage upgrading the ACL in current deployments

@sohkai sohkai merged commit 3e5c75d into dev Aug 22, 2018
@sohkai sohkai deleted the acl-nonce-hash branch August 22, 2018 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants