No option to set the role
mineshaftgap - December 31, 2008 - 22:36
| Project: | Asset |
| Version: | 5.x-1.0 |
| Component: | User interface (Asset wizard) |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
No option to set the role
I cannot for the life of me find any way or documentation to set the role after setting the permission of an asset to private.
From the inline documentation: "By selecting Private, you can restrict which roles, if any, can access this asset. If you select Private and do not select any roles, you will be the only user with access to this asset."
Explicit steps to reproduce:
- Create content -> Page
- Title: Private Asset Test
- Body: Private Asset Test
- Insert Assets
- Upload
- Browse to Picture2.png
- Title: Picture2.png
- Author: Me
- Description: Picture2.png
- Permissions: Private
- Next
- Okay
- Formatting: Link
- Next
- Title: Picture2.png
- Finish
- Submit
Where am I missing setting the roles?
Things seem to be working, since I can explicitly set the right roles in the database with the following:
INSERT INTO asset_role (aid, rid, status)
SELECT a.aid, r.rid, 1
FROM asset a
JOIN role r ON (r.name = 'authenticated user')
WHERE a.filename = 'Picture2.png';
#1
subscribe