Re: updates to jonah

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.jonah
Message-ID <[email protected]>
Quoting Eric Rostetter <[email protected]>:

> While I suppose I could live with this for now, and it is probably better
> than just letting anyone write channels, most of us need something in
> between.
> As a University, we want to let our secretaries and/or grad students be
> the authors of channels, but we certainly don't really want to give them
> Horde admin status if we can avoid it.

I added this functionality probably two months ago at most because I needed
it. Help in expanding it would be great.

> In the long run, some kind of permission setup would be great.  Another
> way would be to create a jonah admin, like horde admin, in the jonah
> config files.  This would be a list of users who are jonah admins (can do
> updates, create channels, etc).  Obviously you would want to allow Horde
> admins to do these as well as jonah admins.  But having two lists would be
> a good compromise...

It is trivial to define a permission that serves this purpose. Look at
Rakim, for instance, and the code for Auth::isAdmin(). Rakim calls
Auth::isAdmin('rakim:admin'). Horde admins are automatically authorized. If
the user isn't a Horde admin, then we go looking for a rakim:admin
permission. If the user has that permission (you can specify a level
optionally as well, I forget what the default is), then they are
authorized. Otherwise, they aren't.

> > - any channels will have to be resubscribed, because their channel_ids
> have changed
>
> Yuck...
>
> > - any channels set up using Horde_Blocks (portal.php etc) will need to
> be reinserted, again because of all the channel_id changes.
>
> Yuck...

HEAD evolves.

-chuck

--
Charles Hagenbuch, <[email protected]>
The alligators were there, too, in a bathtub inside the house.

-- 
Jonah mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.