webtrees icon indicating copy to clipboard operation
webtrees copied to clipboard

Set default tree per user

Open makitso opened this issue 4 years ago • 6 comments

I have two trees on my site. I would like to validate a user to be an editor on one tree, johannsen, and a member peters on the other. When I log in with this userid I get to My Page for the wrong tree -- peters.

It would be nice if I could restrict a user to a specific, johannsen, tree when they log in.

makitso avatar Sep 20 '20 16:09 makitso

Would be nice if you could set the default tree on a user basis.

makitso avatar Sep 20 '20 17:09 makitso

When you log in, it is normal to stay on the same page (but with new access permissions).

In user-interface design, this is often called the principle of least surprise.

So, if you are looking at an individual on tree1 and then login (perhaps to see more information or to create an edit), you would expect to be returned to the same page - not to a completely different page in a different tree.

fisharebest avatar Oct 04 '20 13:10 fisharebest

So, if you are looking at an individual on tree1 and then login (perhaps to see more information or to create an edit), you would expect to be returned to the same page - not to a completely different page in a different tree.

That makes sense for an experienced user. However, if a user just wants to look at a specific tree, the non-default one, they have to set the tree on the home page prior to logging in -- something my casual users fail to do.

makitso avatar Oct 04 '20 14:10 makitso

It is also recommended to add the corresponding relationship between the tree and the user. There are trees A and B. If a is the administrator of tree A but not the administrator of tree B, then a can only manage users of tree A in the user management in the control panel.

DaPoHou avatar Oct 09 '20 02:10 DaPoHou

So, if you are looking at an individual on tree1 and then login (perhaps to see more information or to create an edit), you would expect to be returned to the same page - not to a completely different page in a different tree.

That makes sense for an experienced user. However, if a user just wants to look at a specific tree, the non-default one, they have to set the tree on the home page prior to logging in -- something my casual users fail to do.

Yes, in all product designs, we must consider the ease of operation for new users. If the corresponding relationship between different domain names and trees can be established, then the user accesses the corresponding default tree through the corresponding domain name. This may be more convenient.

DaPoHou avatar Oct 09 '20 02:10 DaPoHou

What about the case where you have 1 public tree used to demonstrate the system, and multiple private trees that users work on. It's currently not possible to navigate to a private tree, before logging on. Where confidential data is kept private, users would expect to see private data after logging in and see their private tree that they're interested in. Maybe a new "default tree" option on the user account might work. If this option is not set (or the user is viewing a record on the public tree), the current workflow would remain.

jsloane avatar Sep 04 '22 12:09 jsloane