lyceum-users AT lists.ibiblio.org
Subject: Lyceum-users mailing list
List archive
- From: "David R. Woolley" <drwool AT thinkofit.com>
- To: John Joseph Bachir <jjb AT ibiblio.org>
- Cc: lyceum-users AT lists.ibiblio.org
- Subject: Re: [Lyceum-users] User roles/levels
- Date: Mon, 06 Nov 2006 17:21:47 -0600
I found that the WordPress plugin "post-restrictions" works fine with Lyceum. Although it wasn't absolutely necessary, I did end up customizing the plugin somewhat. The user interface for controlling access to a post offered a long list of checkboxes -- you could restrict access according to every single capability that WordPress defines. I wanted to simplify it so the selection could be made based on roles, which is a much smaller list. I accomplished that with a small hack, which I posted in the plugin author's blog:
http://bluesome.net/post/2006/01/01/121/
At 11/6/2006 01:01 AM, John Joseph Bachir wrote:
For each blog on which a user has permissions, there is a permissions entry in the usermeta table.
The user_level field is, i believe, a legacy piece of the system that wordpress no longer utilizes and i believe is in there for the sake of plugin backward compatibility.
witness my lack of investigation, and general confusion, in this very old ticket:
<http://source.ibiblio.org/trac/lyceum/ticket/135>
But the bottom line is, there is no concept of per-blog user level. You can perhaps hack the plugin to store this information in the options table, or even better, to work with roles instead of levels.
let us know what you come up with, and/or document it on the wiki if you get the chance.
john
-
Re: [Lyceum-users] User roles/levels,
John Joseph Bachir, 11/06/2006
- Re: [Lyceum-users] User roles/levels, David R. Woolley, 11/06/2006
Archive powered by MHonArc 2.6.24.