6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/31/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13049] only the admin user can create ressources
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.__ ..___. . [__ | \ |[__ \ / | |__/\__|| \/
Comment
> Still buggy in current git master, non-admin users see the "+" Icon, > but get "You are not allowed to create new resources." > > This patch should fix it: > > diff --git a/kronolith/lib/Ajax/Application/Handler.php > b/kronolith/lib/Ajax/Application/Handler.php > index 76fe5da..a400b79 100644 > --- a/kronolith/lib/Ajax/Application/Handler.php > +++ b/kronolith/lib/Ajax/Application/Handler.php > @@ -1046,7 +1046,7 @@ class Kronolith_Ajax_Application_Handler > extends Horde_Core_Ajax_Application_Han > if (!$calendar_id) { > // New resource > // @TODO: Groups. > - if (!$GLOBALS['registry']->isAdmin()) { > + if (!$GLOBALS['registry']->isAdmin() && > !$GLOBALS['injector']->getInstance('Horde_Core_Perms')->hasAppPermission('resource_management')) > { > $GLOBALS['notification']->push(_("You are not > allowed to create new resources."), 'horde.error'); > return $result; > } > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers