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 policy serialisation primitives to mismi-iam #256

Open
olorin opened this issue Dec 3, 2015 · 5 comments
Open

Add policy serialisation primitives to mismi-iam #256

olorin opened this issue Dec 3, 2015 · 5 comments

Comments

@olorin
Copy link
Contributor

olorin commented Dec 3, 2015

I added types/serialisation stuff for policy documents in moog, but it's generally applicable and should probably go in mismi-iam instead, unless there's a better place I'm not aware of.

@markhibberd
Copy link
Contributor

mismi-iam is probably good @nhibberd wrote some in bucket with some quasi-quoters as well that should probably come in.

@nhibberd
Copy link
Member

nhibberd commented Dec 3, 2015

Yeah ideally will lift bucket code up

@olorin
Copy link
Contributor Author

olorin commented Dec 3, 2015

I just did plain Haskell types with aeson - don't have a strong preference, but it seems like the QQ implementation in bucket doesn't do a lot to ensure that the provided policy is well-formed (e.g., version string is actually a valid version, et cetera)?

@nhibberd
Copy link
Member

nhibberd commented Dec 6, 2015

How did you do the permissions?

@olorin
Copy link
Contributor Author

olorin commented Dec 6, 2015

@nhibberd currently "Action" is just a newtype around Text (like this); wasn't sure if it'd be worth enumerating everything at the type level - open to suggestions there.

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

3 participants