[MGNLDMS-19] exception if a user tries to access a not permited document Created: 31/Oct/05  Updated: 03/Jul/14  Resolved: 17/May/06

Status: Closed
Project: Document Management System (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1

Type: Bug Priority: Major
Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

When a user tries to access a resource that he has no permission to access, I expect teh ssytem to give an error message to the user, but rather Magnolia raised an exception (on tomcat console and magnolia error log) with the following message:

ERROR info.magnolia.cms.core.MetaData MetaData.java(allowUpdate:121) 31.10.2005

07:36:16 User not allowed to (Add, Set, Read) path [/untitled/untitled/070205_
keswickcloud_med/MetaData/jcr:content]
info.magnolia.cms.security.AccessDeniedException: User not allowed to (Add, Set,
Read) path [/untitled/untitled/070205_keswickcloud_med/MetaData/jcr:content]
at info.magnolia.cms.core.Access.isGranted(Access.java:43)
at info.magnolia.cms.core.MetaData.allowUpdate(MetaData.java:118)
at info.magnolia.cms.core.MetaData.setModificationDate(MetaData.java:323
)



 Comments   
Comment by Sara [ 26/May/09 ]

I have set the role for one node under the config with readonly value, and every time that I just select the node (without try to change any values) throws this same exception above. If the user have permission to read, should not throw it.

Generated at Mon Feb 12 00:47:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.