Project

General

Profile

« Previous | Next » 

Revision acfbc458

Added by Marek Hulán about 10 years ago

fixes #812 - new permissions model, user group role and nest support, role filters for better granularity

Contributions from:

View differences:

app/controllers/api/v2/usergroups_controller.rb
param :order, String, :desc => "sort results"
def index
@usergroups = Usergroup.search_for(*search_options).paginate(paginate_options)
@usergroups = Usergroup.
authorized(:view_usergroups).
search_for(*search_options).paginate(paginate_options)
end
api :GET, "/usergroups/:id/", "Show a usergroup."

Also available in: Unified diff