-
Type:
Technical Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Sprint:7.2 - S1
-
Git Pull Request:
ServiceContext contains a ModelPermissions attribute that is intended to be use to set the permissions when invoking a service. However, with the current implementation of ServiceContextFactory, the API is not fully working as expected because even though the model permissions parameter were passed, they were overriden by the groupPermissions and guestPermissions at the service context factory.
The goal of this task is to make sure that the model permissions parameter in the service context parameters, if passed, are honor and sent to the service.
As a fallback mechanism we will ensure that if no parameters are sent, the model permissions will be populated with the default guest and group permissions.
We also adapted some services that were not supporting modelPermissions object in their API.
- causes
-
LPS-86761 "Error:You do not have the required permissions." appears when adding comment to a thread in Message Boards with the DB that generated by SampleSQLBuilder
- Closed
-
LPS-125345 User with Site Administrator Role cannot use Global Structures
- Closed
- relates
-
LPS-101022 Quick Reply adds Guest view permission
- Closed