-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-6315: Added endpoint to load language limitations for content #887
Closed
ciastektk
wants to merge
0
commits into
main
from
ibx-6315-added-endpoint-to-load-language-limitation-for-content
Closed
IBX-6315: Added endpoint to load language limitations for content #887
ciastektk
wants to merge
0
commits into
main
from
ibx-6315-added-endpoint-to-load-language-limitation-for-content
Conversation
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
kisztof
approved these changes
Aug 29, 2023
ciastektk
force-pushed
the
ibx-6315-added-endpoint-to-load-language-limitation-for-content
branch
5 times, most recently
from
September 4, 2023 12:33
571974c
to
580dd22
Compare
ciastektk
force-pushed
the
ibx-6315-added-endpoint-to-load-language-limitation-for-content
branch
from
September 6, 2023 05:50
7b04473
to
f97e950
Compare
alongosz
reviewed
Sep 7, 2023
src/bundle/Controller/Permission/LanguageLimitationController.php
Outdated
Show resolved
Hide resolved
webhdx
reviewed
Sep 12, 2023
src/bundle/Controller/Permission/LanguageLimitationController.php
Outdated
Show resolved
Hide resolved
2 tasks
ciastektk
force-pushed
the
ibx-6315-added-endpoint-to-load-language-limitation-for-content
branch
2 times, most recently
from
September 14, 2023 14:03
620d755
to
54bd64c
Compare
konradoboza
approved these changes
Sep 15, 2023
ciastektk
force-pushed
the
ibx-6315-added-endpoint-to-load-language-limitation-for-content
branch
from
September 18, 2023 06:56
8f917a8
to
e62b148
Compare
mikadamczyk
approved these changes
Sep 18, 2023
alongosz
approved these changes
Sep 18, 2023
ciastektk
force-pushed
the
ibx-6315-added-endpoint-to-load-language-limitation-for-content
branch
3 times, most recently
from
September 18, 2023 12:44
af4af87
to
3c71d48
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
ciastektk
force-pushed
the
ibx-6315-added-endpoint-to-load-language-limitation-for-content
branch
from
October 23, 2023 07:10
3c71d48
to
6accf58
Compare
Kudos, SonarCloud Quality Gate passed! |
ciastektk
deleted the
ibx-6315-added-endpoint-to-load-language-limitation-for-content
branch
October 23, 2023 07:11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Requires: ibexa/core#270
New endpoints
/permission/limitation/language/content-create/<location-id>
/permission/limitation/language/content-edit/{contentInfoId}
/permission/limitation/language/content-read/{contentInfoId}
All endpoints provides language limitation information for given content item. Language data returned by endpoint is array with keys
languageCode
,name
andhasAccess
For content edit and read there are two optional parameters:
versionNo
andlocationId
to check languages with access for content item in specific version number and location.LimitationResolver
Methods
getContentCreateLimitations
andgetContentUpdateLimitations
have been moved fromIbexa\Contracts\AdminUi\Permission\PermissionChecker
to makeLimitationResolver
responsible for providing specific limitation data for content.To avoid BC brake, moved methods from
Ibexa\Contracts\AdminUi\Permission\PermissionChecker
have been marked as deprecated.Checklist:
$ composer fix-cs
)