There is a new permission, "use ctools import", that is defined in a patch (not yet committed) in #870938: Add new permission for controlling imports. I am creating this issue to change Views' import function to use that new permission. The current permission is "use PHP for settings". The reasoning for the change is in that issue.

Comments

michelle’s picture

Status: Active » Needs review
StatusFileSize
new435 bytes

This patch seems to do the trick. Keep in mind it works in conjunction with the CTools patch.

rob c’s picture

Hey Michelle, just found your issue, we'r also working on this in: #2329259: Refine import permissions / update php argument access So let's close this one?

michelle’s picture

Status: Needs review » Closed (duplicate)

Yeah, looks like that one has more traction so, sure.

jomarocas’s picture

Status: Closed (duplicate) » Patch (to be ported)

The patch is different of ctools, permission by upload depending of views no of ctools, please upload this patch to core views

rob c’s picture

Status: Patch (to be ported) » Closed (duplicate)

Jomarocas, the patch in #2329259: Refine import permissions / update php argument access is actually a views issue due to the new permission ctools provides now. We have a discussion going in that issue and the patch there is more up to date. This is the reason the curreny issue had been closed. Please do not reopen duplicates but reply in #2329259: Refine import permissions / update php argument access. Thanks.