Displaying 1 result from an estimated 1 matches for "purpuoses".
Did you mean:
purposes
2006 Apr 30
0
Role based auth recipe from a subfolder?
...ll the classes from one point(class
AdminController in this case) i have this base structure:
class AdminController < ApplicationController
...
end
class ArticlesController < AdminController
...
end
i define the following rights(by now i have only defined one role for
easy implementation purpuoses) for the user:
:controller :action
articles list
articles show
articles edit
ok, all of the above works perfect for any controller created and
inherited from the admin controller and also for any roles and rights i
assign to them, here comes my question, cause ill be...