Jump to content
TNG Community
NicoM

How to "Apply rights to multiple trees"

Recommended Posts

NicoM

Hello,

I have created one new user and several trees which I want to link to that one user.

I know that in "Admin Home" there is a Point "Access Limits" where one should be abe to select several trees from the list of all trees. But, impossible to do so. I can always only select the name of one tree.

Could you please tell me how to proceed in order to select several trees at a time.

Thank you

Nico

Share this post


Link to post
Share on other sites
manofmull

Nico

See the pic for an example.

If you have say three trees and you want the user to have rights to two of them.

Highlight one tree, press "shift" on keyboard and select the tree next to it, so both are highlighted (save/exit)

If the trees are not adjacent, select one at a time and save/stay until finished.

The user will still be able to see all trees but have rights to the two or more selected.

Trees.jpg

Share this post


Link to post
Share on other sites
tngrlkrz

In the user edit, if you tick the box 'apply rights to multiple trees', then a dropdown of trees will be available for you to select multiple trees

Share this post


Link to post
Share on other sites
NicoM

Thank you Manofmull and Ron. 

Following your advice, my problem could be solved.

Regards

Nico

Share this post


Link to post
Share on other sites
Leif Sweden

manofmull

"Highlight one tree, press "shift" on keyboard and select the tree next to it, so both are highlighted (save/exit)"

I have 10 trees but can´t do as you say. I want a user to get access to 2 of those trees (tree 3 and 6) and then it is not possible to use your suggestion.
Leif Sweden

Share this post


Link to post
Share on other sites
manofmull

Leif

If the trees are not adjacent in the list, select one at a time and save/stay until finished (then save/exit). 

Does this not work?

Share this post


Link to post
Share on other sites
theKiwi
1 hour ago, Leif Sweden said:

I have 10 trees but can´t do as you say. I want a user to get access to 2 of those trees (tree 3 and 6) and then it is not possible to use your suggestion.

Highlight tree 3. Hold down the control key and highlight tree 6 - that should select them both

Roger

Share this post


Link to post
Share on other sites
Leif Sweden

Hi Roger,

Late answer but I have not visit the site for a while.
No, I can´t do that. I highlight the first tree and do as you say but  the next tree is not highlighted, just marked. When I click save only the first tree is saved.

Leif

Share this post


Link to post
Share on other sites
NicoM

Leif, I have the same problem as you. One of my users already has access to 8 trees. If I try to assign a further tree to him in the user administration, it is refused. I can try what I want. It's not working. Neither with Shift nor with CTRL. Does anyone know advice?

Share this post


Link to post
Share on other sites
NicoM

Darrin helped to solve the problem:

 

Quote

The problem is that all the tree IDs assigned to the user have to be concatenated and fit into a field that is 128 characters wide. That's the "gedcom" field in the tng_users table. If you need it to be larger so you can accommodate more trees, you will need to use phpMyAdmin or a similar database tool to increase the width of that field to something large enough to accommodate your needs.

Thank you Darrin!

Share this post


Link to post
Share on other sites
Rob Severijns

Nico,

Thanks for sharing the solution :-D

Rob

Share this post


Link to post
Share on other sites
Leif Sweden

Thanks Nico for information,

Unfortunately I am useless in that kind of working, it had been wonderful to be able to use that to my 10 trees.

Maybe someone could fix a Mod for that?

Leif

Share this post


Link to post
Share on other sites
Michel KIRSCH

Leif,

before trying to allow multiple trees, you must check the radio button "Apply rights to multiple trees"

Then , in the list click on the first tree you want to allow, then hold the Ctrl key pressed and

select the other tree(s)

then save

Michel

Leif multiple trees.JPG

Share this post


Link to post
Share on other sites
NicoM

Merci Michel, 

That‘s what I had done. But as I had already assigned a lot of trees (13) to one user, their names filled the 128 caracters width of the concerned database field. That‘s why no further tree could be added. Only after increasing the database filed width, I can now add further trees.

Share this post


Link to post
Share on other sites
Michel KIRSCH

I know Nico,

my answer was for Leif who try to designate multiple trees for a user...

Michel

:-)

 

Share this post


Link to post
Share on other sites
Leif Sweden
16 hours ago, Michel KIRSCH said:

Leif,

before trying to allow multiple trees, you must check the radio button "Apply rights to multiple trees"

Then , in the list click on the first tree you want to allow, then hold the Ctrl key pressed and

select the other tree(s)

then save

Michel

Leif multiple trees.JPG

Hi Michel,

Thanks for your tip, I have already tried with all that. But as I understood from NicoM I first have to change the field in "tng_users" table to 128 characters wide and a lot more in phpMuAdmin or similar (see below).

That is why I was asking for a Mod but maybe it is easy to change as below?
Can I do this within TNG or do I have to go to my site?

Leif

 

The problem is that all the tree IDs assigned to the user have to be concatenated and fit into a field that is 128 characters wide. That's the "gedcom" field in the tng_users table. If you need it to be larger so you can accommodate more trees, you will need to use phpMyAdmin or a similar database tool to increase the width of that field to something large enough to accommodate your needs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×