Skip to content
Commit 7182de11 authored by Björn Geuken's avatar Björn Geuken
Browse files

[api] can_be_modified_by? method for Package and Project model

This commit adds a can_be_modified_by? method to Package and Project model, which
checks if a user has direct access rights for a package / project.

This allows us to simplify some code, since we don't have to check what
object we are working with.
parent e4565c28
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment