Hi,
my problem is that I have three roles: anonymous visitors, authenticated visitors and editors. I've given the permission to both latter roles to submit recipes, however authenticated visitors can't do so, only editors. I've also checked the content types list, whether recipe module was allowed for authenticated users, but it's OK. I can't come up with any other idea what might have gone wrong.
Do you have an idea about it? Should you need more info, I'll be happy to provide.
Thanx
A.
Comments
Comment #1
turboczi commentedI've done some further investigations: it does not respect any (ANY) settings in the permissions page... I've unchecked all the boxes, so now nobody has access to this module, but editors go on having the right to submit recipes. I can't understand how this might have happened.
Comment #2
turboczi commentedI've checked it out with the access modules I'm using and got the following result:
- Content Access and Simple Access can't really cope with the problem of letting authentic users submit recipes, only users with the "administer content" permission.
- Node_Access has no problem in this respect.
So the question seems to be like this: what's wrong between Recipe and Content Acces/Simple Access modules, which doesn't allow authentic users to submit recipes although they have the right permission in the "Permissions" page.
Comment #3
turboczi commentedA great shortcoming of this module -- which I appreciate very much and find excellent for community sites, including the website of my workplace -- is that the "units" cannot be customised and translated into another language and culture. They reflect a strong Anglo-Saxon bias, which we can't cope with here in Europe. It would be great if we could have more metric and translateable units. In Hungary, for example, we prefer "dekagram" for "10 grams" of something.
However, it may be a more general problem concerning the whole Drupal system and going beyond simple translating from one language to another. It's more like the centimeter-inch problem most wordprocessors have to cope with. There you have a switch to select from the metric and ... I don't know the name of the other system in English. I imagine it the way you select your default time zone when creating a new Drupal account.
Comment #4
turboczi commentedI messed up somehow the category of my posts and I put a bug report into the feature request box, which I can't undo. Sorry about it and please have a look there.
Comment #5
scottprive commentedHi Turóczi,
Regarding the permissions issue, can you try this using CVS HEAD?
I just checked in #280056: Add new edit all recipe permission, and as part of my testing I did what you wanted - tested 'add recipe' as user, editor, and admin.
As admin and editor, I could edit recipes of others.
As User, I could edit 'own' recipes.
If CVS works for you, please close this out.
Regarding translations and measurements, please open an issue for each so they are properly visible in the issues queue. Thanks.
Comment #6
jvandervort commentedPlease give the latest dev snapshot(Feb10) a try.
Comment #8
turboczi commentedYeah, I tried it and no help. The problem remains the same: only those users can submit recipes who have the right "administer content" (or sth like this, I run Drupal in Hungarian). Content access is managed by the Content Access module, but I have similar problems with Simple Access, and no problem with Node_Access.
Comment #9
turboczi commentedComment #10
jvandervort commentedThe permissions work for me with no additional node access modules enabled. The way we've implemented hook_perm, it also matches the drupal api and the associated documentation. You say it works with Node_Access? I'm not sure we can do anything more until Drupal7 where they have reworked the permissions sub-system to make it more flexible for just these types of circumstances. Unless someone comes up with the magic bullet, I don't know where to go on this.
Comment #11
turboczi commentedHi, no problem with no access module configured and Node_Access. So the developers of that module know something others don't, thus I suggest looking at how they handle the permissions issue vs. the other two access modules and implement the new knowledge to the next issue of the Recipe module, which I like a lot.
You might get in touch with the access module developers and ask them specific questions. I can't, as I'm not a programmer.
Comment #12
jvandervort commentedTry grabbing tonight's dev snapshot dated May24 or after.
Maybe I found a fix.
Comment #13
jvandervort commentedThis seems to be fixed now in the dev snapshot.
Comment #15
pmathur01 commentedHi, I am wondering if it is possible for users to create recipes and just save them and these are visible only to them and other authorized/authenticated users do not have access to them. Right now what i can see is that all the authenticated users are able to see all the recipes created by other users as well. I might be missing something but i am just stuck..........