Cross Reference: permissions_controller.rb
xref
: /
ontohub
/
app
/
controllers
/
teams
/
permissions_controller.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
ee5342a8882c2fc7631fcffb5497e6597747887c
Tim Reddehase
#
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
# Permissions list administration of a team, only accessible by ontology owners
ee5342a8882c2fc7631fcffb5497e6597747887c
Tim Reddehase
#
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
class
Teams
::
PermissionsController
<
InheritedResources
::
Base
ee5342a8882c2fc7631fcffb5497e6597747887c
Tim Reddehase
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
before_filter
:
authorize_parent
ee5342a8882c2fc7631fcffb5497e6597747887c
Tim Reddehase
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
belongs_to
:
team
068c4812bb4a75942b62c2124ca1875525b3ac5c
Julian Kornberger
respond_to
:
json
, :
xml
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
actions
:
index
ee5342a8882c2fc7631fcffb5497e6597747887c
Tim Reddehase
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
has_pagination
ee5342a8882c2fc7631fcffb5497e6597747887c
Tim Reddehase
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
protected
ee5342a8882c2fc7631fcffb5497e6597747887c
Tim Reddehase
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
def
authorize_parent
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
authorize
! :
show
,
parent
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
end
ee5342a8882c2fc7631fcffb5497e6597747887c
Tim Reddehase
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4
Julian Kornberger
end