Skip to content

Add support for creating policies - #123

Merged
jamiehannaford merged 7 commits into
php-opencloud:masterfrom
samuel4x4:patch-1
Jun 13, 2017
Merged

jamiehannaford merged 7 commits into
php-opencloud:masterfrom
samuel4x4:patch-1

Conversation

@samuel4x4

Copy link
Copy Markdown
Contributor

Request JSON body:

{ "policy": { "type": "application/json", "blob": "{'foobar_user': 'role:compute-user'}" } }

@samuel4x4

Copy link
Copy Markdown
Contributor Author

@haphan

Comment thread src/Identity/v3/Api.php
return [
'method' => 'POST',
'path' => 'policies',
'jsonKey' => 'policy',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

super minor, but can we realign the keys?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@jamiehannaford yes, sure ;) Is it possible to merge this PR and tag a new release? I'm waiting also for #120 ;) Thanks!

realign keys
@jamiehannaford
jamiehannaford merged commit 5aeaadc into php-opencloud:master Jun 13, 2017
@jamiehannaford

Copy link
Copy Markdown
Contributor

v2.0.9 is now live

@samuel4x4

Copy link
Copy Markdown
Contributor Author

thanks ;)

@samuel4x4
samuel4x4 deleted the patch-1 branch June 13, 2017 12:15
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

Successfully merging this pull request may close these issues.

2 participants

⌂ Proxy