permission_list.rb revision 6d67b58472abc76a1d0d68a1d1fa32a45dc6626a
#
# Helper-Class for rendering a permission list
#
#
# first argument: restful path to the permissions collection
# second argument: options hash that may contain the following elements:
#
# :scope => scope for the autocompleter
# :model => class that represents the permissions
# :association => name of the activerecord-association
# :collection => collection of all permissions
@editable = true
case key
value.each do |v|
end
else
end
end
# check required attributes
end
end
end
# path for rendering a PermissionsList instance
end
end
end
# path to a specific partial of the permission list
"#{model_underscore.pluralize}/#{name}"
end
end
end
{
}
end
end