turnermm
Go to the Access Control List management tool under admin and give Read Permission to ALL. Or, in conf/acl.auth.php set @ALL to 1
* @ALL 1
This will give anyone who comes to the site read permission unless otherwise restricted.
nydenizen
Have disabled 'register' in config, but doesn't seem to make a difference.
nydenizen
Thanks for the reply. But,
I first made the change in the ACL tool, but Login window still displays.
I have selected the landing page for the permission, and also the wiki namespace.
I then made the change in the php file, but same problem. Here's the file content.
@ALL 1
* @user 1
* @admin 4
wiki:* @ALL 1
background @ALL 1
What am I missing here?
turnermm
You can disable the login button from the Configuration Manager, under 'disable actions'. In the "Other actions" box enter login. But this will mean that no one can login, including yourself. I'm not sure that's what you would want. The login form is not attached to a page, so can't be handled by ACL.
nydenizen
I understand the problem of a 'global' lockout. My thought is to have an admin logged in permanently with a failsafe that would be keeping a copy of login.php before disabling login.
In any case, though, the Other/login still doesn't work.
Here's a clip from local.php that suggests it should work, right? Unless there are other conflicting or related settings - plugins, for example, or the @ALL 1 change, per your reply above)
$conf['disableactions'] = 'revisions,register,check,rss,login,subscribe,unsubscribe,source,export_raw';
schplurtz
Hi,
nydenizen wrote
@ALL 1
turnermm suggested
* @ALL 1
It seems the leading '*' is missing in your file. That might make the difference.
turnermm
Why your login is not being disabled I don't know. Perhaps it has something to do with your making changes to the login code.
Login and ACL are not interdependent. If login is disabled, it doesn't matter what page you access, the login button will not appear. The login button is, first, implemented in the template, and not by the page. So, if login is disabled the login link/button will not display. If you try to get around the disabling, by entering "&do=login" into your query string, you will get an error message. You can't login.
On the other side: if you have disabled viewing of your pages to anyone but a logged in user, then when you start up the wiki, you will get a "permission denied" message but as long as the login has not been disabled, you will still be able to login. An ACL of 0 does not prevent someone from logging in.
nydenizen
I cleaned out the file so it now reads:
* @ALL 1
* @user 1
* @admin 4
But still no luck
nydenizen
So, I think I got it. I'm using the roundbox template which has an option: Restrict access to logged in users that (buggily) auto-switches to Yes when the associated config is saved. Result was login was always set as @All. Once I disabled this it seemed to behave as I needed.
So thanks for your assistance. Though, maybe a future version could make this setting a bit more direct.