Closed (fixed)
Project:
Node Images
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2008 at 18:16 UTC
Updated:
8 Sep 2008 at 09:09 UTC
I'm testing the node_images 6.x version.
If I test the module with the admin user all works fine but if I use other user with specified role don't appear the form to directly upload images while adding the node.
How to reproduce.
1. Create a new role
2. Assign to the new role ALL node_images permissions, ALL upload permissions and CREATE story permissions
3. Create a new user with the new role
4. Configure the content type story to accept node_images and upload files
5. Create a new node with the new user: Appear the upload file form, DON'T appear the node_image form.
6. Create a new node with the admin user: Appear the upload file form and appear the node_image form!
Comments
Comment #1
doka commentedIt seems to be solved in the dev version of 27.08.2008.
Comment #2
oriol_e9gAre you sure that it's working?
I have test the new version. I have five diferent content types (node, story, forum, book and a custom cck type). When I add a new node with the admin user the node_api form appear in all content types, with an anonymous user or with and authenticated user the form only appear in the custom cck type (ALL roles have ALL node_images permissions).
Comment #3
oriol_e9gI have tested the same in a fresh installation and definitively the permissions are not working fine.
When I add the permission "add node images to any XXXXX content" on a role I would expect that it will appear the node_image form when any user with this role adds a new node. Whit the last versions this not always happens.
Comment #4
oriol_e9gComment #5
stefano73 commentedI just committed a fix on node type names in the access function. Can you check the node_images.module in the latest CVS update? Thanks.
Comment #6
oriol_e9gI have tested the last version and it's working fine!!!!
Thanks! great job!
Comment #7
stefano73 commented