Search code examples
drupaldrupal-7drupal-modulesdrupal-views

User can edit only it's nodes


I want to make one website with for instance 10 pages/nodes.

User 1 can edit the node 2, User 2 can edit page 5, User 4 can edit page 4, ...

How can I make this possible with drupal modules without custom dev?


Solution

  • In fact, no modules are needed. What I've done is :

    1. Create Role that can create one specific node type - called fullUser
    2. Create role that can only edit it's nodes - called regularUser

    Then after, for each user:

    1. Create user, set fullUser
    2. Connect with this user and create a node
    3. Change rone from fullUser to regularUser

    Now the user created can only edit it's node