Dashboard Modules

50 views
Skip to first unread message

Philip Buckley

unread,
May 23, 2011, 6:55:13 AM5/23/11
to habari...@googlegroups.com
Hi,

I asked the question below over on the developers group a few days ago but haven't had a reply, so, on the grounds that I *think* it is a fairly straightforward question, I'm asking it here too.

What I can't see how to do is show ANY dashboard modules on the dashboard for users who are not super users. What I would like to be able to do is show certain dashboard modules for users with certain permissions.

Any help would be much appreciated.

Thanks

Philip

Original message posted to the developers group:

-----------------------------------------------

Hi,

Why is it that only super users can see dashboard modules? If I create a group with every permission checked except Super User and create a user who is a member of that group, then log in as that user, I still can't see any dashboard modules; all I see are the messages about how long the site has been active and how many authors have published how many pages etc.

Is there a simple way to change this behaviour? I don't necessarily want non-super users to be able to change their modules, though for some groups this would be good, but I'd like users to be able to see modules appropriate to them.

Any clues would be much appreciated.

Thanks

Philip

-----------------------------------------------

Michael C. Harris

unread,
May 23, 2011, 7:51:31 AM5/23/11
to habari...@googlegroups.com
Sorry for the lack of response, your email has been on my todo list
since you sent it.

If I add a new user, they're automatically added to the authenticated
group. Adding only the 'Manage dashboard modules' permission, I can
log in as that user and view and add dashboard modules. If you're
seeing something different, that's a bug.

But I suspect you're saying you want the admin to add the dashboard
modules and set permissions for other users to see them but not manage
them. If that's the case, such permissions don't currently exist, but
it definitely seems worthwhile. It would be worth opening a ticket for
it, if that's what you mean.

> --
> To post to this group, send email to habari...@googlegroups.com
> To unsubscribe from this group, send email to habari-users...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/habari-users

--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog
IRC: michaeltwofish #habari

Philip Buckley

unread,
May 23, 2011, 8:44:28 AM5/23/11
to habari-users
Thanks for the reply, Michael

I think I am seeing something different. On the Group admin page, in
the 'Group Permissions' section, I see a list of permissions with the
"allow" and "deny" checkbox next to each one, but I don't see 'Manage
dashboard modules' anywhere in that list. Should it be on that page?
In the 'Administration' sub-section? (I am guessing so). This is the
list I see in that section:

Manage comments on all posts
Manage comments on one's own posts
Manage tags
Manage options
Change theme
Configure the active theme
Activate/deactivate plugins
Configure active plugins
Use the importer
Add, remove, and edit users
Edit own profile
Manage groups and permissions
Manage logs
Create media silo directories
Delete media silo directories
Upload files to media silos
Delete files from media silos

I know that the Core Dashboard Modules plugin is active because I AM
seeing the dashboard modules when I log in as a super user.

The site I am looking at at the moment is running 0.7.1. I'm running
various sites with various versions of Habari. I can't immediately see
the 'Manage dashboard modules' in any of them, unless I am looking in
completely the wrong place!

Philip



On May 23, 12:51 pm, "Michael C. Harris" <mich...@twofishcreative.com>
wrote:
> > For more options, visit this group athttp://groups.google.com/group/habari-users

Colin

unread,
May 23, 2011, 9:06:35 AM5/23/11
to habari...@googlegroups.com
Hmmm, me thinks we may have a bug or an oversight in the upgrade code somewhere.

I too don't have a "Manage dashboard modules" permission entry either, however according to the system/handlers/installhandler.php file (the only place this is mentioned) I should have:

---
        private function upgrade_db_post_3701()
        {
                ACL::create_token( 'manage_dash_modules', _t( 'Manage dashboard modules' ), 'Administration' );
        }
---

Looks like this upgrade hook was missed for some reason.  We're not the only ones to see this too.  mikelietz checked his instances (via IRC discussion) and he too is missing this permission.
Colin Seymour
Blog: http://colinseymour.co.uk
Tech Stuff: http://lildude.co.uk
Barefoot Running: http://barefootrunner.co.uk
IRC: lildude #habari

Colin

unread,
May 23, 2011, 9:47:32 AM5/23/11
to habari...@googlegroups.com
Ticket #1460 raised for this.  Clean installs don't seem to add this permission either.
Reply all
Reply to author
Forward
0 new messages