-
Notifications
You must be signed in to change notification settings - Fork 4
IBX-9328: Implemented dedicated endpoint that handles user group creation under root #177
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
Conversation
composer.json
Outdated
| "ext-simplexml": "*", | ||
| "ext-xmlwriter": "*", | ||
| "ibexa/core": "~4.6.0@dev", | ||
| "ibexa/core": "dev-ibx-9328-users-root-path as 4.6.0@dev", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Friendly reminder: drop temporary commit before the merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped
| path: /user/groups/subgroups | ||
| defaults: | ||
| _controller: Ibexa\Rest\Server\Controller\User:createUserGroup | ||
| _controller: Ibexa\Rest\Server\Controller\User:createRootUserGroup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| _controller: Ibexa\Rest\Server\Controller\User:createRootUserGroup | |
| _controller: Ibexa\Rest\Server\Controller\User::createRootUserGroup |
Syntax with single : is deprecated on Symfony 5.4 and removed in later versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, done in 1ca0c34
| { | ||
| $text = $this->addTestSuffix(__FUNCTION__); | ||
| $xml = <<< XML | ||
| <?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation works for HEREDOC since a long time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's highlighted for XML as an issue in IDE, besides we don't have any indentation anywhere for XMLs in this package.
13dc68b to
a81e155
Compare
|
KamilSznajdrowicz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.




Related PRs:
ibexa/core#594
Description:
This PR creates a new REST action inside the User controller that creates a user group under the root users group:
createRootUserGroupbased onusers_group_root_subtree_pathconfig parameter.For QA:
Documentation: