Ticket #500 (assigned defect)
<aut_group> ACL in combination with master/slave
| Reported by: | Michiel.Schok | Owned by: | Frans |
|---|---|---|---|
| Priority: | major | Milestone: | MediaMosa 3.1/3.5 |
| Component: | Core | Version: | |
| Keywords: | Cc: | ||
| MoSCoW: | Must Have | Estimated time after impact analysis: | |
| Related to project: | none | Tested: | no |
| Accepted: | no | Estimated Hours: | 0 |
Description
When an asset has an <aut_group> ACL and it is master-slaved using the <aut_app> ACL, we would like to use the group in the slave application.
so when we have
Asset A with mediafile M in app B, we set the ACL as
[post B] /mediafile/M/acl?aut_group=test&aut_app=C
When we do some requests from application B all is well:
[get B] /asset/A
...<granted>false
[get B] /asset/A?group=test
...<granted>true
[get B] /asset/A/play?mediafile_id=M&group=test
...success
But when we issue the same requests from application C we get:
[get C] /asset/A
...<granted>false
[get C] /asset/A?group=test
...<granted>false
[get C] /asset/A/play?mediafile_id=M&group=test
...no success
We do want master-slave to work in combination with groups, so when the calls from the slave are made, with the correct group, they result in correctly filled <granted> in search results and in playtickets instead of access denied errors.
Userstories for this ticket involve future use of the CSA (which uses master-slave) and Academia-material, where we now have an Identity Provider which cannot provide uniform emailadresses, which MediaMosa / VP-Core matches to the '@…' autorisation group.
