amitaibu / og

A fork to work on OG8
https://github.com/Gizra/og
29 stars 16 forks source link

Roles + permissions overview #190

Closed pfrenssen closed 8 years ago

pfrenssen commented 8 years ago

Here's a simple PR that implements the roles + permissions overview at /admin/config/group/roles and /admin/config/group/permissions.

The forms to manage the roles and permissions are not part of this.

amitaibu commented 8 years ago

Can you add a screenshot please :)

pfrenssen commented 8 years ago

Here is how they look in the user interface:

og-perms-overview og-roles-overview

For the moment it's a straight port from D7. We can improve it a bit maybe - for example split the entity type and bundle in separate columns, and add alphabetical sorting.

Another idea is to remove the 'Edit' links and the "Actions" column and make the bundle name clickable. There is only one possible action here so this a waste of space. On the other hand, this is a very recognizable way to present a table in the Drupal backend and is very easy to understand.

pfrenssen commented 8 years ago

I've now also added the links to the roles and permissions overview pages to the OG group at the main configuration page admin/config:

added-to-config

amitaibu commented 8 years ago

Thanks!