upmin / upmin-admin-ruby

Framework for creating powerful admin backends with minimal effort in Ruby on Rails.
MIT License
757 stars 66 forks source link

[WIP] Allow restricting CRUD actions #156

Open tfe opened 9 years ago

tfe commented 9 years ago

Allow specifying which of the default CRUD actions are available in Upmin::Models. These actions need to also be:

  1. restricted in ModelController
  2. excluded from views so as to not show buttons for actions that are unavailable

for this to do any good. I haven't done anything with ModelController but I have done some view customization, hence the [WIP] tag.