-
- 24,544 Posts
I saw your image of the User settings, but as I said, User Settings have nothing to do with permissions. User Settings override System Settings, but no System Setting are involved in the permission system, which depends entirely on the permissions in any Policies specified in ACL entries.
Maybe I'm misunderstanding you.
-
- 5,888 Posts
@Bob
as far as I can see, he didn't give the user in question absolutely no usergroup, so no permissions.
So, he shouldn't be able to login into the mgr at all.
He seems to have this issue only at his VPS not at other installations.
Strange issue.
Could it be, that your anonymous usergroup has admin - permissions, @salamander?
-
- 24,544 Posts
@Bruno That's a good thought. I guess it's also remotely possible that MODX thinks it's in CLI mode.
@salamander can you go to System (gear icon) -> Access Control Lists - User Groups and User Tab, right-click on the (anonymous) user group and select "Update User Group". Show us a screenshot of the "Context Access" tab (tabs are on the left in this panel).
-
- 18 Posts
I made backup of my site (files & db), installed it on my local server, the access permission rights worked correctly (unlike the VPS).
I don't know whether this is related or not, but there is one more error on both servers.
When I change the system settings (e.g. site_name or manager_language), they are not automatically applied.
I must delete content of folder "/core/cache", only then system settings is updated.
Does anyone have other ideas what's wrong with my server or modx configuration?
-
- 24,544 Posts
This is a long shot, but try creating a page (call it "Test" -- without the quotes). Put this tag on the page:
Create a snippet called Test with this code:
$output= '';
if (php_sapi_name() == 'cli') {
$output = "In CLI mode";
} else {
$output = "NOT in CLI mode";
}
return $output;
Then visit the Test resource and see what it displays.
-
- 18 Posts
I forgot to say about other problem on my VPS that probably will help to solve all the problem with access permission and system settings!
Two week ago (when I was still quite happy with my life) session in the admin panel became very short (1 minute).
I found parameter in system settings which called "session_cookie_lifetime", changed it. NOTHING.
Then I changed "session_gc_maxlifetime" - the same result.
I deleted /core/cache/* - again NOTHING.
And only then I changed these parameters in php.ini, session time became normal.
In this way I have php.ini which don't give me chance to redefine settings...
Maybe I don't understand something, but when I installed new copy of Modx few day ago, there was no errors/warnings.
So what did I do wrong?
-
- 24,544 Posts