Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19466

Kcfinder not load drupal user, missing permissions to load

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Sprint:
      4.7.11 Drupal
    • Funding Source:
      Needs Funding

      Description

      When it's comparing the permissions with CRM_Core_Permission::check, its not loading the user drupal, and return not permissions allowed.(https://github.com/rubofvil/civicrm-packages/blob/master/kcfinder/integration/civicrm).php#L112

      Patch (check if session exist and the global user it's empty, then load the user)
      https://github.com/rubofvil/civicrm-packages/commit/563a422384ae20cc0077225bebb748813fa6b22d.patch

      related link
      http://civicrm.stackexchange.com/questions/7441/since-drupal-7-4x-i-am-unable-to-upload-browse-images-in-civicrm

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rubofvil Rubén Pineda
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: