[webui] Don't check for admin role in Project/Package#user_has_role?
authorSascha Peilicke <saschpe@suse.de>
Mon, 15 Aug 2011 11:57:42 +0000 (13:57 +0200)
committerSascha Peilicke <saschpe@suse.de>
Mon, 15 Aug 2011 11:57:42 +0000 (13:57 +0200)
commite765d4a03590f6541f789ee127e6003e168fd1dd
tree6c5615156521364a8312aac33c913d89aa779d38
parentd0b88f80b63abc36f8786031ec9f1dbcd92ef232
[webui] Don't check for admin role in Project/Package#user_has_role?

This rather belongs into #can_edit? like it was before.
src/webui/app/models/package.rb
src/webui/app/models/project.rb