Needs work
Project:
CONTENTdm Integration
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2011 at 20:06 UTC
Updated:
17 Nov 2011 at 18:54 UTC
So far setting up the module has been smooth sailing except for one roadblock -- permissions. ContentDM data is only available when logged in. Nothing is even on the page when I log out of the drupal site. I can't find any contentDM view or search permissions?? Any advice?
Comments
Comment #1
markj commentedSorry for the delay. Anonymous users have no problems on our live site so I'll investigate.
Comment #2
markj commentedCan you confirm that in your Drupal that anonymous users have 'access content' permission (in the 'node module' permissions section)?
Also, there is a 'search CONTENTdm collections' permission in the 'contentdm module' permissions. You need to enable the 'CONTENTdm search form' block to see the search form, though.
Comment #3
jeannine commentedSorry for the delay i didn't see your message. Yes all roles have permission to 'search CONTENTdm collections'. The entire site says permission denied when not logged in. But permission setting are no protecting the pages.
Comment #4
markj commentedSorry, I can't replicate this on any of my installs, so I think the only way I can help is if you give me the admin username and password to your site. Email me if you want to pursue this.
Comment #5
markj commentedNot sure if the above problem was the same, but in some cases, I was able to produce an "Access denied" message as the anonymous user when viewing CONTENTdm items. Added explicit 'view' op to contentdm_access(), and a corresponding 'view contentdm_wrapper nodes' permission in contentdm_perm(), which fixes the problem. Pushed to -dev in commit b97b01a.
Comment #6
markj commentedComment #7
markj commentedReopening -- roles must be given both 'view' and 'search' permissions to view.