OSDN Git Service

Security for online editor. Replace dev_access?, master_access? with can? method...
authorrandx <dmitriy.zaporozhets@gmail.com>
Sun, 21 Oct 2012 09:12:14 +0000 (12:12 +0300)
committerrandx <dmitriy.zaporozhets@gmail.com>
Sun, 21 Oct 2012 09:12:14 +0000 (12:12 +0300)
commit0189ee97ed34b74cf0f500d678d4435b17ab6a85
treeed77bf88303ef286cc5123d2b75899e559e3a69d
parent5ec1ad8b2375bdce7a820df1be3dc67b18ad2bd0
Security for online editor. Replace dev_access?, master_access? with can? method usage
app/controllers/tree_controller.rb
app/helpers/tree_helper.rb
app/models/ability.rb
app/roles/authority.rb
app/roles/repository.rb
app/views/tree/_blob_actions.html.haml
lib/gitlab/backend/grack_auth.rb