Download & Extend

Remove “administer files” permission

Project:Drupal core
Version:6.x-dev
Component:system.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)
Issue tags:Quick fix

Issue Summary

The system module's hook_permission() implementation returns the permission “administer files”, but that permission is not used anywhere in core.

It was introduced in #115267-16: Simplify File Uploads, Centralize File Validation and Quotas, Fix File Previews.... without any explanation, so I assume that it was added by mistake.

AttachmentSizeStatusTest resultOperations
administer-files-1.patch2.43 KBIdleFAILED: [[SimpleTest]]: [MySQL] Unable to apply patch administer-files-1.patch.View details | Re-test

Comments

#1

Status:needs review» fixed

Committed to CVS HEAD. Thanks.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#3

Version:7.x-dev» 6.x-dev
Status:closed (fixed)» patch (to be ported)

can this be ported to D6?

#4

Status:patch (to be ported)» closed (won't fix)

No, the permission "administer files" is in use in D6.