Hi Can you please provide a very basic sample?
How to add an info-box with text (and a checkbox) above the save button for specific rooms only?
Ok this won't help either, but thanks a lot anyway :)
Hi Thanks. Is there any include file that is automatically included so i.e. "Room-local.php" or similar? Then i could have my changes in there and it is update-safe.
How to make update-safe changes (Area.php Room.php)?
custom fields with conditional logic
Ok thanks a lot! :)
Hi Ok i will do that. The room has a lot of bookings assigned, is there an easy way to migrate it to another area (after the are has been created with the different settings)?
1.9.4 how to make some rooms in an area require approval and others not?
Yes that works. Thanks a lot (however there is another issue, ill create a new ticket for that)!
1.9.4 "roles" branch question regarding rights (only use roles for 3 out of 4 rooms in an area)
Hi Yes, that would be awesome and really help a lot!
1.9.4 "roles" branch not working #2 (wrong role assigned, other role missing)
Now its gone, thanks :)
1.9.4 "roles" branch not working
Hi Yes, thanks. I was able to update to 1.9.4 and will now test the roles branch. Best, Thomas
Ok thanks. Is it compatible with 1.9.4 or only with 1.9.2? If its only compatible with 1.9.2 i would have to upgrade but this is not psosible because of the error
Hi I need the special functionality for role-based access https://sourceforge.net/p/mrbs/support-requests/2314/?page=0 Your wrote This is a feature that is under development at the moment. However it is far enough advanced (at least for LDAP authentication) that you could test it and see whether it does what you want. I recommend that you just use it in a test environment initially. The development is in the roles branch and you can get the latest code by following the Download Snapshot link on that...
Cannot upgrade 1.7.1 -> 1.9.2 (db error when submitting new events)
1.9.2 ability to override standard access rule per area/room
I think i found my mistake. I did changes (you wrote earlier) to web/lib/MRBS/Area.php instead of lib/MRBS/Area.php Once i changed it, it works (my test user cannot create requests wheras a user in the group can)
I didn't change anything in the areadefaults.php. So what i want to achieve for this particular area only is -Everybody can read (regardless if authenticated via LDAP or not) -Users in the ldap group can create bookings.
Hey I added it to lib/MRBS/Room.php web/lib/MRBS/Room.php but it still doesn't work. -As a user who is in the ldap group , i can book all other areas but also the one that has the ldap group restriction role. -> thats fine -My test user who is not in the group can book all other areas but also the one that has the ldap role. -> problem
Sure Role: test area approved persons Area: test area Permission: Write State: Granted Room rules: nothing defined, i want that the area rule is used for all rooms in that area Using the "Groups" tab i mapped the "test area approved persons" role to the ldap group where the people which should have access are members of (i activated the checkmark at "User") The result is: -As another user who is in the ldap group , i can book all other areas but also the one that has the ldap group restriction role....
What do you mean exactly?
This came from me
Hi No my test user is a normal user. He is part of the special ldap grouo -My test user who is not in the group can book all other areas but also the one that has the ldap role (and like i said, he is not in the specific ldap group). -As another user, i can also book all other areas but also the one that has the ldap group restriction role.
It shows as "user"
Hi I put the following in Area.php at the bottom: public function getDefaultRule($user) { // Every area except one has the default permissions if ($this->id != 21) // or whatever the id of your area is { return parent::getDefaultRule($user); } // The special area has restricted permissions $result = new AreaRule(); $result->state = $result::GRANTED; if (!isset($user) || empty($user->level)) { $result->permission = $result::READ; } elseif ($user->isAdmin()) { $result->permission = $result::ALL; }...
Hi This is not working, i patched the mrbs_auth.inc and restarted the webserver. However as an ordinary logged in ldap user, i still see the "Users" tab.
This doesn't work as the people have to be explicitly put in the special ldap group (whitelist approach) rather than all others beeing access denied (blacklist approach).
Well whati want to achieve is that: -Everybody who can login (ldap) can book all areas except for this particular one (for which you have to be member of the special ldap group).
1.9.2 (roles branch) how to remove the "Users" tab for normal users?
Thanks a lot, now i see my ldap group :) -I created a role with the area, the permission is set to "write" and the state to "Granted" -I mapped an ldap group to that role -However i noticed that in the specified area and rooms, everybody can see and create events and not only the persons that are specified in the ldap group.
Hi I fixed it so that the code works. Looks really nice but i have added one ldap group and noticed that even after restarting apache it is not displayed in the ui to be able to be mapped to a role. What am i doing wrong here?
No it didn't ask me for a upgrade and if im logged in as admin, i don't see the new menu items
This doesn't work. i patched my 1.9.1 code with the files from the snapshot, but i don't see the new menu items. Where are they supposed to be (i haven't changed anything in my config.inc.php)
Hi Thanks for your reply: Can i achieve the following with this? -everybody has read access in a specific are (currently the setting for the whole MRBS installation) -There is an ldap-group per room in that area and only people in that ldap-group can write (create bookings only for themselves) If i checkout your code, please tell me the files where i can set this up or where to look at :)
1.9.2 how to limit access to an area to a specifiy ldap group
I changed it but it doesn't work for "reject" or "more info" // if we're requiring bookings to be approved and this user needs approval // for this room, then get the email addresses of the approvers //if (!in_array($action, array("delete", "reject")) && // $approval_enabled && // !auth_book_admin($user, $data['room_id'])) // 01.03.2021 TS: https://sourceforge.net/p/mrbs/support-requests/2312/ if ($approval_enabled) { $to[] = get_approvers_email($data['room_id']); } ($mail_settings['admin_on_bookings'])...
Thanks that worked :)
1.9.2 how to change mail content (clickable link to event)?
I upgraded to 1.9.2 and the issue is still the same.
1.7.1 mail for approval "reject" or "more info" not sent to area admin
1.7.3 how to display the person in the email if an event is changed?
Hi. This issue can be closed, it affected Thunderbird 78.0.1. An update to the 78.1.0 fixed the issue, just to let anybody know :) Best, Thomas
Exchange 2016 calendars broken in Thunderbird 78
1.7.3 how to enable other users to change or delete all bookings?
1.7.3 how to restrict reports only to MRBS admins?
There was a typo in the line above (the " in the end should not be there). The line i use now is: $subject = '[Fahrauftrag ' . (($series) ? 'S' : 'E') . $data['id'] . "] " . $subject; Example: [Buchung E3] Neuer Eintrag für MRBS. However i have the issue that when i modify the event, the id increments: [Fahrauftrag E4] Eintrag für MRBS geändert This should not be the case. How can i fix this? Best, Thomas
Hi On my Ubuntu VM i had to enable it: sudo locale-gen de_DE.UTF-8 service apache2 restart Then it worked. Thanks a lot! Best, Thomas
Hi OK thanks so far. Can you tell me the database table name where the events are stored? Then i can take a look
I set $override_locale = 'de_DE.utf-8'; // if you have a UNIX server and the result is like before. Everything is in german, except for the days of the week as well as the abbreviations i.e. "Sep" for september. I also could not find any translations in the lang.de file Best, Thomas
Hi We are using v1.7.3 (my bad) and it doesn't work. I added the code exactly as you wrote. I always get the subject like: Buchung E Fahrt nach Berlin So the id is empty, what am i doing wrong?
E-Mail subject based on event status not working
Hi This is v1.7.3 by the way. $disable_automatic_language_changing = 1; $default_language_tokens = "de"; $override_locale -> not set Cheers T Am 01.10.19 um 14:29 schrieb Campbell Morrison: The day names should be translated automatically depending on your locale. Your locale is determined automatically from your browser language settings, or else by the setting of |$override_locale|. What are your browser language preferences (the information is on the MRBS Help page)? What are |$disable_automatic_language_changing|,...
Hi This is v1.7.3 by the way. $disable_automatic_language_changing = 1; $default_language_tokens = "de"; $override_locale -> not set Best, Thomas
How to translate the day names in german?
How to automatically delete old events?
How to add a unique number in the mails beeing sent?
Thanks a lot. This is exactly what i need :) Best, Thomas
how to export data via csv (number of users and percentage of rooms booked)?
Hi Thanks for you fix in trunk (private e-mail conversation), i just tested and now it works. I don't get the error message and entries can now be deleted.
The error message is: 2018-06-12 09:41:43,771 INFO [CaldavConnection-49306] davmail.connection - LOGON - 149.217.50.47:49306 thomas.stather@... 2018-06-12 09:41:43,846 ERROR [CaldavConnection-49306] davmail - ErrorCannotDeleteObject Object cannot be deleted. request: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:Header><t:RequestServerVersion...
The error message is: 2018-06-12 09:41:43,771 INFO [CaldavConnection-49306] davmail.connection - LOGON - 149.217.50.47:49306 thomas.stather@mpimf-heidelberg.mpg.de 2018-06-12 09:41:43,846 ERROR [CaldavConnection-49306] davmail - ErrorCannotDeleteObject Object cannot be deleted. request: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:Header><t:RequestServerVersion...
Hi We tested but this soesn't work. The error is still existant
Cannot delete entries in shared calendars (TB/Lightning "MODIFICATION_FAILED"")
Hi It would be nice if somebdy can give me a hint since this is really important for us. Best, Thomas