-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(put-policy): update policy without delete-create (#107)
* fix(put-policy): overwrite policy name from json * but remain backwards-compatible * chore(docs): Fix docstring * fix(put-policy): update instead of delete-create * so that pkey unchanged and x_policy relationships unbroken * fix(policy): require and validate policy name * fix(put-policy): update description too * fix(put-policy): refactor policy-add-resources-roles * fix(tx): Remove rollbacks--already transactified * chore(fmt): go fmt * fix(put-policy): pass policyID to helper * also camel case helper name * fix(put-policy): merge SELECT with UPDATE * fix(put-policy): Just rely on validate fn for policy id
- Loading branch information
Showing
3 changed files
with
89 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters