I have come across this problem in the past but never solved it.
I am on the verge of finishing a Drupal site for a client. I created two content types and gave him the permissions necessary to edit any occurrence of these node types.
The strange problem is the client can edit any node of type product_type except for one particular node of the same type.
So in other words, all nodes of type product_type are editable except node/3.
Do you have a node access module installed, like Content Access or Taxonomy Access Control? If you do, it could be that there are per-node permissions set and your client's role doesn't have permission to edit that node, or it could be that it is tagged with a particular taxonomy term which prevents him from editing it.
If you don't have any extra node access modules installed, is it just that the link to "Edit" is missing in the tabs section of the page? Can the client type in "http://example.com/node/3/edit" and reach the edit screen that way?
If you supply an answer to these questions in the comments, I'll edit this answer as best I can.
Check the author of the node. If it's different than the client's user account that may account for the problem. If that does not work you may need to "rebuild permissions."
I found out what the issue was. The client account could not edit anything with full-html input format.
I enabled that at /admin/settings/filters and it works just fine now.
Thanks for looking in.
Related
I have 2 different roles with exactly the same permissions and text formats when I switch a user between these two roles with the first one I can edit one specific node but not with the second, is there something I'm missing? I basically want to make these two roles to work exactly the same and after that I will add/remove some permissions.
I even tried using the direct edit URL "node/XXXXXX/edit" with no success on my 2nd role, as soon as i swap to the 1st role I can access the edit page.
On the content type I looked on the User Permissions and both of them are checked on the "Roles that can EDIT any content of this type"
As suggested on one of the answers I re created the role and cleared the cache but with no success.
Do both roles have the right permissions to work with the text format?
/admin/config/content/formats
or go to Configuration > Content authoring > Text formats
Try to delete the second role;
Create again and
Clean cache.
That happened to me time ago.
Hope that helps.
I'm quite new with drupal, and i didn't manage to find an answer in forums or searching the web with google.
I'm trying to forbid access to users of specific roles to nodes of specific content type witch are in a specific workflow state...
I manage to make the nodes disappear from wiews but using the link to the content in the navigator address bar still gives access to it.
Is there a way to really deny access instead of just make it disappear from views ?
Thank you.
Although you hide the node from views, this users can access the nodes via url.
You can use the nodeaccess module to hide its nodes.
Also you can use content_access to restric entire content types.
https://drupal.org/project/content_access
https://drupal.org/project/nodeaccess
I hope it's useful.
Regards.
My completely finished website started displaying "region" in all the regions instead of the content. This was shortly after I enabled "Calendar Multiday" so perhaps it was related (although I have now disabled that module). Calendar and Date were previously enabled and working perfectly. I am not actually sure if the problem has anything to do with the module.
Anyone seen anything like this? Could it have to do with access control? I disabled the module but that didn't do anything..
To be clear, even admins cannot see the content and simply see "region" in every region.
please clear the cache and tell me if its solved the problem... you can clear the cache by flushing the database tables that start with cache_... , or by implementing cache_clear_all(), drupal_flush_all_caches() functions ...
Check the region.tpl.php file if you have this problem as it was overriding all my content!
Does anyone know of a good module (or technique) that can be used to find out what other nodes may link to a specific node.
For example, I have a node with id 1000, and I'm going to be renaming the path for it. I want to know what other nodes link to it (links made in the body of the node) so I can quickly go back and update those nodes as well.
Any thoughts? This site isn't accessible to normal link checkers, so it would have to be something on the site itself, or a FF extension, etc.
I've used the Link Checker module. It finds broken links and redirects, so it won't find all references to a node until after you move it. But it will give you a full report of broken and redirected links on your site, and even gives options for automatically updating or unpublishing the affected nodes. You should be able to install the module, do the move, scan for broken links using Link Checker, then fix the links.
When you say you're going to be changing the path of the node I'm assuming that you mean that you're going to be changing the node ID, right?
The module that Greg mentions sounds good in this case.
If all you're doing is creating a new alias for the node then the old links should still work as the node ID hasn't changed.
I have a fairly new drupal installation with a few hundred nodes. I moved it from the development server to the production server.
However, when I opened my homepage, it says page not found. After checking all my links, it seems that I can't get to any of my content. They exist in the node database, as well as the content type tables. I verified that all my URL aliases are also in place. In most cases, I can still see all the information from views I had created, but when clicking to see the full node view, I get the "Page not found".
I did trim all my cache tables before importing to reduce the size of the DB. Has anyone had these symptoms before? Perhaps there is a particular table, that when truncated, will lead to this problem?
**Update: Imported my revision table again, and presto - Although my content came back, I'm still having a sort of permissions problem. When an anonymous visitor comes to the site, they are told they don't have permission to see items like content type "Page", yet in user permissions, everything looks good (definitely good before migration) perhaps another deleted table?
Yes, node content information is in the revisions table, not the node table. You REALLY need the revisions table. I assume you can just remigrate again, this time without truncating revisions.
if table is broken, it shouldn't show "Page not found". It may show that sql error that table or column doesn't exists.
Try troubleshoot in http://drupal.org/node/201875 (you will see Page Not Found links in middle).
Also may be you use some redirecting in your node theming, check this.
p.s. In any case, node saving touch 2 tables: node and node_revisions