Topic on Project:Support desk

Blocked users permissions

10
89.123.241.143 (talkcontribs)

Is there a way for blocked accounts to have the 'read' permission revoked?

Ciencia Al Poder (talkcontribs)

no, and this would make no sense. Most you can do is create a new user group and revoke the read rights for it, and adding those blocked users to the new group, but that wouldn't make more sense anyway, since users can just logout to see the content

87.123.58.199 (talkcontribs)

What Ciencia says is right. You would need a setup, where users cannot see anything, if they are not logged in. Otherwise it would not make sense to revoke read rights from certain accounts.

89.123.241.143 (talkcontribs)

Hm. Is it possible to work for IPs then? That's what I meant to ask initially. I don't think IPs can be added to groups, can they?

87.123.58.199 (talkcontribs)

They cannot. IPs can be blocked, but they cannot be added to groups (at least not by default and I don't know of an extension, which would change that).

Note that what you want in fact _is_ possible: You can configure MediaWiki in such a way that as long as the user is not logged in, only access to a few pages is possible, e.g. to the Main Page and to the login page. All other pages would then be forbidden as long as the user is not logged in. If you then blocked a user, you will effectly also take his read rights away. However, I am not sure, if this solution really is what you want: After all, this takes read rights away from _each and every_ IP. I am aware that this is not what you asked for...

89.123.241.143 (talkcontribs)

Yes. I would only like for any blocked IP/account to have their 'read' rights revoked.

89.123.241.143 (talkcontribs)

Well, mostly for IPs.

87.123.14.60 (talkcontribs)

I know. That's how I understood your question. ;-)

89.123.241.143 (talkcontribs)

So.. there's really no workaround to it? No extension? No setup? I figured it should be something mediawiki had bundled.

87.123.14.60 (talkcontribs)

A setup without extension definitely not.

Groups currently are assigned based on the user ID, which is linked to the account in the user table.

The following would be needed in order to be able to assign groups also to IPs: Group membership should not only be addable for certain user IDs, but also for user ID 0 in combination with the IP address as username. This would need according changes in the MediaWiki database layout and the addition of according code. As far as I can tell, neither of this is currently existing.

Reply to "Blocked users permissions"