-
Notifications
You must be signed in to change notification settings - Fork 228
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
Remove add and delete buttons from "list all XYZ" pages in 1.6 #676
Comments
The Rule type needs to be exactly The Rule Type = the "event" we're triggering against. IN this case the add/delete buttons are presented through the ACTIONBOX event. The Parent would be sub items if there were, in our case, there is 0 sub's but the Parent is a required field, so any value here is possible. The value is the "key" that we're working against. The ACTIONBOX event only has a value of 'actionbox' which is the thing we're removing. Hope that helps explain things a little bit. node would be delved specifically to individual pages if you wanted it. Say you only wanted to remove add/delete on hosts, you would host the Node value to host, or image, or whatever. If you want it on all, you would set node. In the case of actionbox I just did a quick fix. So setting node won't really change how it operations at this point in time, but you can see how granular you could become. |
It's working properly for me and the things I want hidden are indeed hidden. This may be a bit extreme, wondering if removing the access contorl plugin and reinstalling it might work better for you? |
I would say that fixed the issue. It nuked all of the rules we created which we created because the default ones didn't work initially hence why we had to make them all but maybe the script flipped because the default rules now seem to work. That also fixed the actionbox issue not working so that is good. Who knows what caused it but everything seems fine now so thank you! |
We are a unique use case for fog. We have 50 ish schools across our county that all have fiber to our DC. our HS MS and Intermediate schools have 10 gig and the elementaries only have 1gig. each elementary school has a fog node that is a storage node to our master elementary node in the data center. Each secondary "cone site" consists of a High school, middle school, and Intermediate school. in each cone site there's a master node at the hs and a storage node at the other 2 schools. each one of our cone sites has a dedicated tech who manages all fog stuff for their cone site. We want to centralize fog to have our DB, master images, and massive number of hosts backed up in the datacenter and also make updating our default images easier.
This is where we are exploring 1.6. we have decided to use this version because it supports pagination, and is a lot cleaner looking. We are planning on having the master master node on the proxmox cluster and have normal master storage nodes at each high school and standard storage nodes at the MS and Intermediate schools. the elementaries will all have standard storage nodes.
We use LDAP mainly for non Google services, so we are looking at using the 1.6 LDAP module, locations, site, and access control plugins. we are running into a swath of peculiar issues though.
The first is found when using the access control plugin to remove the "create", "import", and "export" entries from the menus leaving only the "list all" option, users are able to use the add and delete buttons there to create and delete these items anyways completely invalidating the point of access control blocking access to the create menu item.
we are trying to organize our cone sites into sites within the "site" plugin and there doesn't seem to be an intuitive way to implement it correctly. we want to limit our cone site techs to only be able to modify edit add or remove hosts images etc in their site but it first doesnt restrict them at all, and there doesn't seem to be a way to ensure that the user who creates the host won't lose the host to the void if permissions aren't set right when it's created.
It would be nice if there were user groups and if control was a little more granular. Currently access control kinda just hides the link, but something like proxmox completely removes the ability to do anything with perms that aren't given to the user. it would be nice to be able to have 8 different sites with the ability to assign users to those sites and them have no way to mess with each others stuff.
We use fog pretty extensively at our school district, and love the project. This rant is more to hopefully give some insight on how we use our setup to help shape the beta. If I think of anything else I'll put it below, and if something in my rant doesn't make sense please let me know.
Thanks,
Cody
The text was updated successfully, but these errors were encountered: