phpScheduleIt
May 25, 2013, 12:42:35 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: function managePerms()  (Read 3569 times)
thermskin
Newbie
*

Karma: 0
Posts: 41


« on: April 10, 2006, 12:02:10 PM »

Hi Nick,

The function managePerms() in Admin.class.php (1.2.0beta)
in my oppinion should have more options because if you don't have groups admin can't change permissions for resources.

I have replaced first If statement with (!$this->user->get_isadmin()) to get permission system working.

Best regards,
t.
Logged

---
Don't drink and drive, take a joint and fly.
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: April 10, 2006, 01:47:01 PM »

Just to make sure I understand, the group admin should be able to change permissions?  I thought I had that worked out, but maybe not.
Logged
thermskin
Newbie
*

Karma: 0
Posts: 41


« Reply #2 on: April 10, 2006, 04:00:52 PM »

Hi Nick :-)

Well I don't know if you have fixed it, I can't change permission on resource if I don't have groups.

Anyway that part with groups is great idea but if you have as I do, more than 600 users, it is quite a problem adding them to groups.
Btw, I don't see how can person XY be admin in more than 1 group at the same time?

Maybe we should consider to create different aproach.

Best regards,
t.
Logged

---
Don't drink and drive, take a joint and fly.
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #3 on: April 10, 2006, 05:57:37 PM »

Sounds like a bug... I'll fix this.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!