[PATCH conductor] User/Group profile UI to show permission grants

Matt Wagner matt.wagner at redhat.com
Tue Aug 14 20:42:37 UTC 2012


On Mon, Aug 13, 2012 at 10:42:32AM -0400, Scott Seago wrote:
> ---
>  src/app/controllers/application_controller.rb     |   37 ++++++++++++
>  src/app/controllers/permissions_controller.rb     |   33 ++++++++---
>  src/app/controllers/user_groups_controller.rb     |   11 +++-
>  src/app/controllers/users_controller.rb           |    1 +
>  src/app/models/common_filter_methods.rb           |    9 ++-
>  src/app/models/derived_permission.rb              |   61 ++++++++++++++++++++-
>  src/app/models/permission.rb                      |   61 ++++++++++++++++++++-
>  src/app/models/role.rb                            |   10 +++
>  src/app/models/user.rb                            |    2 +-
>  src/app/models/user_group.rb                      |    5 ++
>  src/app/views/permissions/_objects.html.haml      |   62 +++++++++++++++++++++
>  src/app/views/user_groups/_list.html.haml         |    2 +-
>  src/app/views/user_groups/show.html.haml          |    5 ++
>  src/app/views/users/show.html.haml                |    7 ++-
>  src/config/locales/en.yml                         |    2 +
>  src/config/routes.rb                              |    1 +
>  src/features/step_definitions/permission_steps.rb |    5 ++
>  src/features/user.feature                         |    7 ++
>  src/features/user_group.feature                   |    7 ++
>  19 files changed, 309 insertions(+), 19 deletions(-)
>  create mode 100644 src/app/views/permissions/_objects.html.haml
> 

ACK to this, with one nit: it would be nice to show the type of object
in the list of objects you have roles on. If I have multiple things
named "Default" or whatever, I can only tell whether it's a Pool or a
Catalog by looking at the link. Might be nice to add another column. But
if that doesn't make it in now it's not the end of the world.

-- Matt



More information about the aeolus-devel mailing list