Opened 13 years ago

Closed 13 years ago

#192 closed defect (fixed)

FileTreePanel - widget added when no resource is authorized

Reported by: adube Owned by:
Priority: minor Milestone:
Component: widgets Version:
Keywords: Cc:

Description

The FileTreePanel widget is automatically added if there is a resource having a datastore with the required file service, but it doesn't check if it's authorized by the ACL, thus generating "not authorized" errors when the application loads.

Having the error messages is fine because it proves that the ACL is working well, but it leaves us with an empty widget that does nothing.

fix

Add the ACL validation in the widget .php file.

Change History (1)

comment:1 by adube, 13 years ago

Resolution: fixed
Status: newclosed

r990, fixed.

Note: See TracTickets for help on using tickets.