Jump to content

Recommended Posts

Posted

Dear Fellas i just found a problem with Admin center access which is as follows.

in admin center i went and created new group with the name 'Finance' and gave below permissions to the pilot.

  • View finance
  • Admin Access

after 1 week the same pilot sent me an email and informed me that his VA hours reset to zero instead of 2000+ when i investigated in admin center i went to Admin Activity log and found the same pilot somehow got access of pilots profile and he himself changed his own profile data and because of that his VA hours showing zero now still dont know why?

i got confused as how this pilot got access so i changed his password and i myself logged in from his account after spending time i found the below:

anyone here can solve this puzzle as how pilots can get access by just typing URL in the browser even he dont have permissions for others options in admin center.

Regards

James

  • Administrators
Posted

There are a number of admin modules that are only protected by the link not being in the menu for the user if he does not have permissions for that function. If you look at the MassMailer module you will find that each function has a permissions check;

$this->checkPermission(EMAIL_PILOTS);

but if you look at the PilotAdmin module it does not. It is one of the many things that need to be extended in the system. You could go through and add the proper permissions to every function in the admin system to fix it, just remember if there is ever an update the changes would probably be overwritten unless you submit them in a pull request to the Github project.

On the other hand I would have to ask myself if I need people in my VA that I need to worry about doing things like this?

Posted

in admin center i went and created new group with the name 'Finance' and gave below permissions to the pilot.

  • View finance
  • Admin Access

Maybe that's your issue? If he's logged in, and if he has access, and it seems that he has the permission to, then he can view it by direct admin URL.

Have you tried logging out and seeing if it still goes in or logging in to another account that has no access?

No worries about your lack of knowledge; it's just learning. :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...