-
Notifications
You must be signed in to change notification settings - Fork 723
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
Group with RO at section but RWA on subnet cannot create nested subnets #3058
Comments
It occurred to me that the behavior exhibited seems to be that "add nested subnet" only checks permissions set on the section and ignores permissions set on the subnet itself. |
I'm still using version 1.3.2 but even there I have this problem. |
Faced with the same issue. Are there any news about possible fixes? Version 1.4.2 |
any updates on this? |
1.4.3 and faced this too. Would be great to be able to gove permissions on just subnets to create nested subnets for other admins. |
1.5.0 - its still an issue - this forces users to split a subnet into multiple sections. |
Unsure it's a bug as it have been clearly dev'd that way. https://github.com/phpipam/phpipam/blob/master/app/admin/subnets/edit.php#L34 I could fix that and open a pull request, but unsure it's bug fix |
Describe the bug
If your group is set to RO permissions on the section, RO on a root subnet, RWA on a child subnet, group doesn't have permissions to create nested subnet.
A workaround is that if you set RWA permissions on the section (without delegation), this fixes the bug but introduces another. The group has permissions to create nested subnets on all other subnets that the group has RO permissions set,
phpIPAM version
Bug fixes are supported in the latest production and development releases. Please update to a supported release before reporting issues. Please search for existing Issues (including closed Issues) before submitting duplicates.
Versions of phpIPAM known to contain the issue (delete as appropriate).
Your Environment (please supply the following information):
(Also present on latest phpipam-docker build)
Steps To Reproduce
Please include steps to reproduce the issue:
Screenshots and error logs
Please set
$debugging=true;
in your config.php and include any reported error messages. If applicable, add screenshots or other error logs to help explain your problem.Additional Info
The issue is present in our native phpipam install on a VM, I have also reproduced using the above steps in docker-www using the latest tag.
The text was updated successfully, but these errors were encountered: