On Mon, Oct 03, 2011 at 07:04:06PM -0400, Scott Seago wrote:
This patch only enables the UI to modify permissions on Pools. The vast majority of the code is non-type-specific though, so once this part is finalized it will be easy to expand it to other object types.
src/app/controllers/application_controller.rb | 10 + src/app/controllers/permissions_controller.rb | 184 ++++++++++++++++----- src/app/controllers/pools_controller.rb | 14 ++- src/app/helpers/application_helper.rb | 1 + src/app/stylesheets/custom.scss | 4 + src/app/views/layouts/_filter_table.haml | 4 + src/app/views/permissions/_form.haml | 16 ++ src/app/views/permissions/_new.haml | 14 ++ src/app/views/permissions/_permissions.haml | 24 +++ src/app/views/permissions/index.haml | 1 + src/app/views/permissions/new.haml | 20 +-- src/app/views/pools/_permissions.haml | 8 +- src/config/locales/en.yml | 4 + src/config/routes.rb | 2 + src/features/permission.feature | 58 ++++--- src/features/step_definitions/permission_steps.rb | 13 ++- 16 files changed, 285 insertions(+), 92 deletions(-) create mode 100644 src/app/views/permissions/_form.haml create mode 100644 src/app/views/permissions/_new.haml create mode 100644 src/app/views/permissions/_permissions.haml create mode 100644 src/app/views/permissions/index.haml
ACK.
-- Matt