I have a drupal5 site with taxonomy access installed. I have created some custom content types and a couple of administrative roles (one to manage content and another to manage content, taxonomy, blocks, etc...).
Now a user of "role1" is able to post contenttype1 but unable to post contenttype2 If I add user to "role2" he is able to post contenttype1 and contenttype2
I tried checking all permissions in "Access Control" for role1 with no result, and also doing the same in all taxonomy access control for role2 with no results.
How can I guess which module is blocking create permission to role1?
Thanks.
Quoting Lluís enboig@gmail.com:
I have a drupal5 site with taxonomy access installed. I have created some custom content types and a couple of administrative roles (one to manage content and another to manage content, taxonomy, blocks, etc...).
Now a user of "role1" is able to post contenttype1 but unable to post contenttype2 If I add user to "role2" he is able to post contenttype1 and contenttype2
Is this the same user? Did you log the user out, use a different session cookie, etc? Make sure the role2 has the permissions you think. Make sure the user doesn't have both role1 and role2.
I tried checking all permissions in "Access Control" for role1 with no result, and also doing the same in all taxonomy access control for role2 with no results.
How can I guess which module is blocking create permission to role1?
If you're lucky it is logged at admin/reports/dblog (for D6).
-- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/
Luis,
Make sure the vocabulary that you are using for access control is enabled for that second content type.
Totally other thought, though this shouldn't affect creating new, I think it's just a problem editing existing. But... make sure permissions for various input formats are in order. For example, the most common problem related to this is: user/x has administer node privileges --- can't get any more privilege than that, right?. But user/x sees no "Edit" tab on node/y. How is that possible? Node/y's input format has been set to an input format that has been limited to a role that user/x doesn't belong to.
Many, many folks have wasted hours on this one because the connection between input format and admin/node privileges is something that most people don't think of. It took me running into that problem about five times before I'd recongnize it off the bat and not have to research on drupal.org to remember it. It seems unlikely this is your problem... but just thinkin' out of the box to cover a base you might not have thought of.
Good luck and report back,
Shai
On Thu, Apr 2, 2009 at 9:01 AM, Earnie Boyd earnie@users.sourceforge.netwrote:
Quoting Lluís enboig@gmail.com:
I have a drupal5 site with taxonomy access installed. I have created
some custom content types and a couple of administrative roles (one to manage content and another to manage content, taxonomy, blocks, etc...).
Now a user of "role1" is able to post contenttype1 but unable to post contenttype2 If I add user to "role2" he is able to post contenttype1 and contenttype2
Is this the same user? Did you log the user out, use a different session cookie, etc? Make sure the role2 has the permissions you think. Make sure the user doesn't have both role1 and role2.
I tried checking all permissions in "Access Control" for role1 with no
result, and also doing the same in all taxonomy access control for role2 with no results.
How can I guess which module is blocking create permission to role1?
If you're lucky it is logged at admin/reports/dblog (for D6).
-- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/
-- [ Drupal support list | http://lists.drupal.org/ ]
At the top of the taxonomy access control module there are default permissions besides the term by term permissions make sure these are set correctly as well as the term by term permissions.
Thanks, Steve
Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter
-----Original Message----- From: Lluís [mailto:enboig@gmail.com] Sent: Thursday, April 02, 2009 4:42 AM To: support@drupal.org Subject: [support] Role unable to post a content type
I have a drupal5 site with taxonomy access installed. I have created some custom content types and a couple of administrative roles (one to manage content and another to manage content, taxonomy, blocks, etc...).
Now a user of "role1" is able to post contenttype1 but unable to post contenttype2 If I add user to "role2" he is able to post contenttype1 and contenttype2
I tried checking all permissions in "Access Control" for role1 with no result, and also doing the same in all taxonomy access control for role2 with no results.
How can I guess which module is blocking create permission to role1?
Thanks.
On Thu, Apr 2, 2009 at 3:01 PM, Earnie Boyd earnie@users.sourceforge.net wrote:
Quoting Lluís enboig@gmail.com:
Is this the same user? Did you log the user out, use a different session cookie, etc? Make sure the role2 has the permissions you think. Make sure the user doesn't have both role1 and role2.
Is always the same user; and I haven't checked editing content, just creating new. If I have a role which should be able to post content (ALL the access control checkboxes are checked and ALL the taxonomy access checkboxex are checked) but is unable to do so; when I add this user to another role (both), he is able to post content
On Thu, Apr 2, 2009 at 3:39 PM, Steve Kessler skessler@denverdataman.com wrote:
At the top of the taxonomy access control module there are default permissions besides the term by term permissions make sure these are set correctly as well as the term by term permissions.
All the access are set to "Allow" (view, edit, delete, create, list) to all terms, and new terms.
I tried with "devel" module to check if I could know which module is blocking the user of posting; but that was useless.
On Thu, Apr 2, 2009 at 1:41 PM, Lluís enboig@gmail.com wrote:
I have a drupal5 site with taxonomy access installed. I have created some custom content types and a couple of administrative roles (one to manage content and another to manage content, taxonomy, blocks, etc...).
Now a user of "role1" is able to post contenttype1 but unable to post contenttype2
Unable how? Do you mean that the user doesn't see a link for contenttype2 in "Create content"? Or does the user see a "Create contenttype2" link but there is a problem later on? Only in the second case it is possible that it is a taxonomy access problem.
If I add user to "role2" he is able to post contenttype1 and contenttype2
I tried checking all permissions in "Access Control" for role1 with no result, and also doing the same in all taxonomy access control for role2 with no results.
So, role1 does have "create contenttype2 content" permission in the admin/user/access page, in the node module section?
Try to rebuild the permissions in admin/content/node-settings/rebuild
How can I guess which module is blocking create permission to role1?
AFAIK, no module can block a role's permission to "create contenttype2 content" if such a permission exists in the permissions table in the database.
Thanks.
-- *La vida és com una taronja, que esperes a exprimir-la? *Si creus que l'educació és cara, prova la ignorància. *La vida és com una moneda, la pots gastar en el que vulguis però només una vegada.
*Abans d'imprimir aquest missatge, pensa en el medi ambient.
[ Drupal support list | http://lists.drupal.org/ ]
On Fri, Apr 3, 2009 at 9:30 AM, Cog Rusty cog.rusty@gmail.com wrote:
On Thu, Apr 2, 2009 at 1:41 PM, Lluís enboig@gmail.com wrote:
...snip...
How can I guess which module is blocking create permission to role1?
AFAIK, no module can block a role's permission to "create contenttype2 content" if such a permission exists in the permissions table in the database.
Something I forgot to mention: Are you using any odule which associates your contenttype2 with a specific input format, such as filter_default or default_filter or filterbynodetype or better_formats? If so, does your role1 have permission to use that input format in admin/settings/filters?
On Fri, Apr 3, 2009 at 8:41 AM, Cog Rusty cog.rusty@gmail.com wrote:
Something I forgot to mention: Are you using any odule which associates your contenttype2 with a specific input format, such as filter_default or default_filter or filterbynodetype or better_formats? If so, does your role1 have permission to use that input format in admin/settings/filters?
It seems you are right; I added the role to PHP input format and no problem nou; but I don't understand it, the only fields in the content type are:
human name;machine name, type title;title;title taxonomy;taxonomy;taxonomy Data;field_data;Date enllaç;field_enlla;Link
So there should be no need for PHP
Sorry, I rechecked it and I was trying a different content type; no solution so far :(
It seems you are right; I added the role to PHP input format and no problem nou; but I don't understand it, the only fields in the content type are:
human name;machine name, type title;title;title taxonomy;taxonomy;taxonomy Data;field_data;Date enllaç;field_enlla;Link
So there should be no need for PHP
-- *La vida és com una taronja, que esperes a exprimir-la? *Si creus que l'educació és cara, prova la ignorància. *La vida és com una moneda, la pots gastar en el que vulguis però només una vegada. *Abans d'imprimir aquest missatge, pensa en el medi ambient.