Hi!

I would like only node author of node who created the particular node to have access to the settings and E-mail registrees pages (Links in secondary tab). Could you please kindly guide me how could this be achieved, of course if you have time.

Thanks!

Comments

rudiedirkx’s picture

This is possible in 1.11, if you enable nr_owners. Will release today.

ishworthapaliya’s picture

I have been trying to do this the whole weekend by myself but wasn't successful.

Thanks a lot for making it possible in 1.11. Really appreciate it.

rudiedirkx’s picture

I'm not sure this is what you mean. Try 1.11.

ishworthapaliya’s picture

Hi rudiedirkx!

I tested the latest version and when i checked the " Disable settings tab on node page| Access denies the settings tab for all people without Administer registration permission." option on the Structure--> Node registration, the "settings" tab was not visible for the role except admin (even the "Administer registration" permission checked for the particular role)

-----------------------------------------------

Other thing is that i just simply wanted do something like this:

if(currentUser == nodeAuthor || currentUser== '1'){

show settings

}

Thanks!

rudiedirkx’s picture

I tested the latest version and .... the "settings" tab was not visible for the role ...

Is that good or bad? That's what you meant, right?

The other thing is exactly what nr_owners should do. Node owners become admins of their events. Including settings page. If you checked the "don't show settings" box, the settings won't show, obviously.

nr_owners does two things:

  • Give NR administer access to node owners
  • Optionally hide (and access deny) the settings tab

If you enable nr_owners and hide the settings tab, node owners can only enable/disable registration via the node edit form (in a vertical tab).

I think I know what you want, I just don't know if you're satisfied with what exists.

ishworthapaliya’s picture

Hi!

After your reply, i played with it a bit more and realized that i had "Administer registration" enabled for the role i was testing with which was confusing me. Disabled it and it works very good.

Thanks a lot for this awesome module!!

rudiedirkx’s picture

Status: Active » Fixed

Anytimes.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.