Commit 853b6232 authored by Roman Lacko's avatar Roman Lacko
Browse files

Update visibility values

parent 17f5ef6a
Loading
Loading
Loading
Loading
+4 −8
Original line number Original line Diff line number Diff line
@@ -37,9 +37,9 @@ Exporter::export_ok_tags(qw|group_visibility member_access project_visibility ut


use constant {
use constant {
    # Group Visibility
    # Group Visibility
    GROUP_PRIVATE       => 00,
    GROUP_PRIVATE       => "private",
    GROUP_INTERNAL      => 10,
    GROUP_INTERNAL      => "internal",
    GROUP_PUBLIC        => 20,
    GROUP_PUBLIC        => "public",


    # Member rights
    # Member rights
    MEMBER_GUEST        => 10,
    MEMBER_GUEST        => 10,
@@ -48,11 +48,7 @@ use constant {
    MEMBER_MASTER       => 40,
    MEMBER_MASTER       => 40,
    MEMBER_OWNER        => 50,
    MEMBER_OWNER        => 50,


    # Project visibility (old values)
    # Project Visibility
    _PROJECT_PRIVATE    =>  0,
    _PROJECT_INTERNAL   => 10,
    _PROJECT_PUBLIC     => 20,

    PROJECT_PRIVATE     => "private",
    PROJECT_PRIVATE     => "private",
    PROJECT_INTERNAL    => "internal",
    PROJECT_INTERNAL    => "internal",
    PROJECT_PUBLIC      => "public",
    PROJECT_PUBLIC      => "public",
+1 −0
Original line number Original line Diff line number Diff line
@@ -75,6 +75,7 @@ my $requests = {
            lfs_enabled
            lfs_enabled
            request_access_enabled
            request_access_enabled
            parent_id
            parent_id
            shared_runners_minutes_limit
        )],
        )],
    },
    },