Closed (fixed)
Project:
Asset
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
16 Mar 2008 at 21:25 UTC
Updated:
31 Mar 2008 at 21:52 UTC
Jump to comment: Most recent file
_asset_page_match() doesn't check for user permission on 'create assets' or any other permissions. So, it always displays the link. For everyone...
Patch to follow shortly
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | asset_235051_1.patch | 665 bytes | mfer |
Comments
Comment #1
mfer commentedA patch to _asset_page_match() that solves this. Not sure if this permissions check fits with the permissions scheme of the module though.
Comment #2
wmostrey commentedI also added the "administer assets" permission. Thanks for pointing this out, will be committed to dev tonight.
Comment #3
wmostrey commentedCommitted to dev, thanks a lot Matt!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.