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

doka’s picture

Status: Active » Reviewed & tested by the community

It seems to be solved in the dev version of 27.08.2008.

oriol_e9g’s picture

Status: Reviewed & tested by the community » Postponed (maintainer needs more info)

Are 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).

oriol_e9g’s picture

I 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.

oriol_e9g’s picture

Status: Postponed (maintainer needs more info) » Active
stefano73’s picture

I 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.

oriol_e9g’s picture

Status: Active » Fixed

I have tested the last version and it's working fine!!!!

Thanks! great job!

stefano73’s picture

Status: Fixed » Closed (fixed)