https://bugzilla.wikimedia.org/show_bug.cgi?id=53690

       Web browser: ---
            Bug ID: 53690
           Summary: Fine-grained upload rights
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Uploading
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: remcocdeb...@gmail.com
                CC: bawolff...@gmail.com, bryan.tongm...@gmail.com,
                    fflo...@wikimedia.org, mtrac...@member.fsf.org
    Classification: Unclassified
   Mobile Platform: ---

Ideally, it should be possible to combine upload right assignments with file
types, such that:

$wgGroupPermissions['sysop']['upload'] = true;

retains its current meaning 'anyone in group /sysop/ may upload any file with a
file type in $wgFileExtensions'

but further tweaking is supported, such that e.g.

$wgGroupPermissions['user']['upload'] = array('png', 'jpg');

restricts anyone in group /user/ to upload only .png and .jpg files, and none
of the other file types that may be included in $wgFileExtensions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to