Hi,
I have installed the SIOC module on my site. Which generates some xml pages inside my site according to SIOC. The problem is that when I try to access them with an external script it gave me access denied. I searched on the permissions but this module has no permissions. I want to read those xml pages but with a anonymous user I can’t access. Any idea of how I can modify the permissions of these files or how can a gave permissions to my script to work with these pages.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 500714-06-access_content_site_access-d6.patch | 664 bytes | Freso |
Comments
Comment #1
scor commentedcan you paste the paths which give you access denied? the module reuse the permissions from other core modules, this might help:
Comment #2
quanton81 commentedhttp://websemantico.altervista.org/drupal/?q=sioc/sitethis is the first link I try to parse with an external script and it gave me acces denied if I am anonymous user!Maybe I have to modify something in
this part of the code to access it?
Comment #3
quanton81 commentedI solved the problem with
do you think this may cause any security problem??
Comment #4
scor commentedyes that looks good. not sure why that got into the code, but this should be indeed open to anyone with the "access content" perm.
Comment #5
quanton81 commentedThank you very much for your help!!!! You are very kind! :))
Comment #6
Freso commentedAnd here is comment #3 in patch form, ready to commit. :)