Author Topic: 1.5.1 Cannot invite people from same workspace (group permissions)  (Read 2062 times)

wizardjeje

  • Guest
Hi,

I configured the access of users to workspaces using group permissions. So my users have no "personal" rights, they only have group rights. My philosophy is "one group, one workspace". Group permissions I give are :
- Can manage workspaces
- Can manage all contacts
- Can manage templates
- Can manage reports
- Can manage time

In this configuration, I face a problem : users from a workspace (and therfore from a group) cannot invite each others when they create an event. They only see admins in the lits of possible people to invite.

Is there something to change somewhere in my config in order to make possible for users in a workspace to invite each others ?
Is it a bug ?


 
« Last Edit: August 31, 2009, 12:18:48 pm by wizardjeje »

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: 1.5.1 Cannot invite people from same workspace (group permissions)
« Reply #1 on: August 31, 2009, 03:25:32 pm »
Hi,
it is a bug, and will be fixed in next release.
if you want to fix it in your installation you have to:

- replace lines 790-791 of /application/controllers/EventController.class.php with:
Code: [Select]
if (can_read_type($user, $w, 'ProjectEvents')) {
- replace line 21 of /application/views/object/add_subscribers.php with
Code: [Select]
$canRead = can_read_type($u, $ws, $type);
- replace line 22 of /application/views/object/add_subscribers_list.php with
Code: [Select]
$canRead = can_read_type($u, $ws, $type);
regards

wizardjeje

  • Guest
Re: 1.5.1 Cannot invite people from same workspace (group permissions)
« Reply #2 on: September 11, 2009, 06:14:04 am »
Thank you very much for including this patch in the 1.5.3 verison !
It works fine now.