Hi,

Could you please add the following code to the class draggableviews_handler_field_draggable in draggableviews_handler_field_draggable.inc ? Without this access check the form surrounding the View is still rendered, without any purpose.

  function access() {
    return user_access('access draggableviews');
  }

thanks,

Thomas

Comments

istryker’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Category: Bug report » Task
Issue summary: View changes

Think this doable, to speed things up, please provide a patch.

istryker’s picture

curious if #2495081: undefined method access() in views is related or semi related.

Anonymous’s picture

Of course, does this patch work for you?

istryker’s picture

StatusFileSize
new640 bytes

Looks like we do not need the user access around render anymore.

  • iStryker committed 46fab80 on 7.x-2.x authored by thomastorfs
    Issue #2495751 by iStryker, thomastorfs: Remove form from View when the...
istryker’s picture

Title: Remove the form around the View when the user has no access to Draggable Views » Remove form from View when the user does not have "access draggableviews" permission
Status: Active » Fixed

Committed Patch #4

Status: Fixed » Closed (fixed)

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