Page 1 of 1

NMS - Permission error when clicking email list

Posted: Thu Jun 28, 2007 7:40 am
by RazorMedia
Using NMS 1.01 and CMSMS 1.0.4

When clicking an email list, I get an error message saying:
"Error! Access Denied. Please check your permissions."

The error occurs only when logged in as my collegues admin account. No error message is displayed when logged in with the original admin account.

Any suggestion what could be the problem?

Re: NMS - Permission error when clicking email list

Posted: Thu Jun 28, 2007 1:36 pm
by alby
RazorMedia wrote: Using NMS 1.01 and CMSMS 1.0.4

When clicking an email list, I get an error message saying:
"Error! Access Denied. Please check your permissions."

The error occurs only when logged in as my collegues admin account. No error message is displayed when logged in with the original admin account.

Any suggestion what could be the problem?
Check group of your collegues admin account. Is it admin?

Alby

Re: NMS - Permission error when clicking email list

Posted: Thu Jun 28, 2007 3:48 pm
by RazorMedia
Check group of your collegues admin account. Is it admin?
Sure it is.

Re: NMS - Permission error when clicking email list

Posted: Thu Jun 28, 2007 8:25 pm
by alby
RazorMedia wrote: When clicking an email list, I get an error message saying:
"Error! Access Denied. Please check your permissions."
If link of email list is: http://xxxxx/admin/moduleinterface.php? ... ]edit_list[/b],xxxxxxxxxx

Then in action.edit_list.php there is ($this->Lang('accessdenied') is your error):
if (!$this->CheckPermission('Modify NMS Lists'))
    {
                $this->_DisplayErrorPage($id, $params, $returnid,
                                                                $this->Lang('accessdenied'));
                return;
    }
Check permission  Modify NMS Lists

Alby

Re: NMS - Permission error when clicking email list

Posted: Thu Jun 28, 2007 8:36 pm
by RazorMedia
Check permission  Modify NMS Lists
So, your suggestion is to check the permissions?

The mystery is that we´re both administrators, but it seems we don´t share the same permissions. At least when it comes to email lists in NMS.

Re: NMS - Permission error when clicking email list

Posted: Fri Jun 29, 2007 7:05 am
by alby
RazorMedia wrote:
Check permission  Modify NMS Lists
So, your suggestion is to check the permissions?

The mystery is that we´re both administrators, but it seems we don´t share the same permissions. At least when it comes to email lists in NMS.
???  ??? Very strange ...
Check in db, with phpmyadmin, both administrators

Alby

Re: NMS - Permission error when clicking email list

Posted: Fri Jun 29, 2007 7:18 pm
by nuno
HELLO,
  I have the same problem, my version is 1.0.8 e NMS version is the last one

do have any solution


UPDATE

I try this!
It´s  wrong?

if (!$this->CheckPermission('Modify NMS Lists'))
    {
//$this->_DisplayErrorPage($id, $params, $returnid,
// $this->Lang('accessdenied'));
//return;
    }

Re: NMS - Permission error when clicking email list

Posted: Mon Jul 02, 2007 2:41 pm
by jaskispyder
I had to manually add "Use NMS" into database as a possible permission. Then I set the Admin to have this permission.

For some reason, there is some old code left that checks to see of  you have "Use NMS" permission.  There may be another... I think it is "Modify NMS Lists"...

Here are the available permissions I have listed for admin:

Manage NMS Jobs
Manage NMS Lists 
Manage NMS Messages 
Manage NMS Users
Use NMS
Modify NMS Lists