Permission GONE

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Permission GONE

Postby ruben23 » Thu Feb 14, 2013 9:12 am

Version 2.6b0.5
SVN Version:1915
DB Schema Version:1337
DB Schema Update Date:2013-01-16 17:37:08
Auto User-add Value:101
Install Date:2012-11-15

HI guys all of a sudden all permission is gone fro my ADMIN user and even on ADMIN user group, i cant view leads and campaign itself


Image


any idea guys..?
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Re: Permission GONE

Postby williamconley » Thu Feb 14, 2013 9:23 am

um ... change your user permissions? (and find out who changed it using the admin changes link at the bottom of the user?)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Permission GONE

Postby ruben23 » Thu Feb 14, 2013 1:06 pm

@ williamconley

all the permission of the user are all set as 1 with level 9 and ADMIN_ vicidial administrator and as i check all user group same as the photo i show you..no option to tick campaigns anymore and all campaign and list are not displayed
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Re: Permission GONE

Postby mflorell » Thu Feb 14, 2013 2:51 pm

Just run this in MySQL:

update vicidial_user_groups set allowed_campaigns=' -ALL-CAMPAIGNS- -' where user_group='ADMIN';
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Permission GONE Vicibox 6.0

Postby scopor » Sat Dec 26, 2015 11:57 pm

I have installed vicibox 6.0 from ISO on a DEll T100 2GB Ram,Intel Xeon 3.0 processor, Version: 2.12b0.5 SVN Version: 2442, DB Schema Version: 1441, Asterisk Version: 1.8.29.0-vici no other software installed. After installation I enabled all permission on my user account.
I had this same problem where I couldnt see any campaign I created. I ran the update that Matt suggested and this did the trick. My question though why did this happen from a brand new installation from scratch? Is something broken in the installation? I had this problem before from a brand new installation but was able to figure it out without going to mysql and running any command. But this time nothing I tried worked. Thanks Matt.
scopor
 
Posts: 53
Joined: Fri Oct 04, 2013 8:44 am

Re: Permission GONE Vicibox 6.0

Postby williamconley » Sun Dec 27, 2015 1:07 am

scopor wrote: After installation I enabled all permission on my user account.
...
Is something broken in the installation?
....

I'd like to bet you a Pepsi that you broke the user settings when you "enabled all permissions". You likely modified the user group setting, which is a big no-no. Once you do this, you have set your user to only see campaigns assigned to that user group. And if there aren't any ... well, try this from now on: NEVER alter the user group of the user you are logged in as. In fact, never modify the user group of an administrator at all.

And if you'd like to test this theory, next time check the ability to modify campaigns before you "enable all permissions". Then be certain to ONLY modify the campaign permissions, and check again. You'll find that you now have permission to edit all campaigns. Then "enable all permissions" and see if it still works. If you avoid modifying the user group, it should work just fine.

And before you jump to any conclusions: Note that in any program/application/app you can break user permissions if you modify your own user settings without taking into account that some settings can Restrict your permissions.

We recommend that new administrators to ANY program (not just vicidial) create a new user, then log in as the new user, and then make all changes as that new user without ever altering the default admin user or logging in as the default admin user except for one thing: you log in as the default admin user ONLY to make and edit Other Users and their permissions. In some cases, you have a specific person assigned to this task to avoid "oops, I locked myself out!" moments. 8-) (Not that I have EVER locked myself out of any application ... nahhhh.)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 63 guests