Closed dlouzan closed 6 years ago
Great! I guess we need the following before we merge:
legacy_mode: true
for old versions < 11.2)Quick question: if we are going to add the legacy flag in the configuration, which will be disabled by default, I guess we can also set the default publish
access level to $maintainer
? At least it feels more natural to me. When legacy_mode: true
, the value applied will be $owner
anyway, there's no other option pre-11.2.
Good idea @dlouzan , fully agree!
Just pushed the latest changes:
access
access level configuration parameter since it cannot be used with the current plugins apilegacy_mode
configuration flag; when not in legacy mode, gitlab 11.2+ is requiredDone, I'm adding commits on top of the original PR commit. Feel free to squash when accepting.
Great work!
min_access_level
parameter in the groups api: publish rights are now configurable based on the access level of the user to the groups, it doesn't require owner permissionsaccess
andpublish
access levelsFixes #5