-
-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All items are restricted in tree (Password menu) #4495
Comments
manusfreedom
changed the title
All items are restricted
All items are restricted in tree (Password menu)
Nov 26, 2024
@Saueee I confirm. |
I got the same Problem - almost all Passwords are shown double with one of them shown as restricted ... any ideas on how to fix this? |
I will have a look to this |
nilsteampassnet
added a commit
that referenced
this issue
Dec 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested with the latest Github code (master):
I have permission on all items, but I can only see them using the tree (password).
It works with search.
sources/items.queries.php line 3926:
$accessLevel = count($arrTmp) > 0 ? max($arrTmp) : $accessLevel;
My max is 50 (the array has 30 because of W and 50 because of NULL/count=0) but 50 gets no permission (between lines 4227 and 4361).
NB: I think the algorithm is wrong (and not very easy to maintain) and why not use a constant (with an understandable name) instead of an int value everywhere?
The text was updated successfully, but these errors were encountered: