refactor permissions controller,
authorJosef Reidinger <jreidinger@suse.cz>
Mon, 9 Nov 2009 08:18:42 +0000 (09:18 +0100)
committerJosef Reidinger <jreidinger@suse.cz>
Mon, 9 Nov 2009 08:19:01 +0000 (09:19 +0100)
commitfd9d0dca2262f8d3a6d67366ffa6e2ab26d1a33c
tree6e09fdaaae8f5c7b63c48fa00016cc83430429ab
parent4346e95a02660c604c92685b271daa12b31e6844
refactor permissions controller,
change it to be singleton,
move functionality to model,
adapt testsuite,
remove Scr.execute
remove ability to set permission as it is not expected to first release and it doesn't work
webservice/app/controllers/permissions_controller.rb
webservice/app/models/permission.rb
webservice/config/routes.rb
webservice/test/functional/permissions_controller_test.rb
webservice/test/unit/permission_test.rb