Jan-Oliver, When I create a new role and make admin+regularuser a member. The regularuser cannot see the role. I am not sure where I got stuck back then but right now I have created another role and I see what I did last time:
- I got role A of which all my users are part - Made new role X which, while being part of the role, only admin can see - Looking at role A it has the following permissions with get_roles: get_roles Has read access to roles <-- clearly not enough to see the newly added role X, not sure what this adds get_roles Has read access to role A <-- it can see its own role, OK get_roles Has read access to role SHARE-NOTES-OVERRIDES <-- so I added this the last time, I need this for role X But when I look at the New Permission pulldown, "get_roles" is not part of the options. I guess that's why I manually added the permission using omp. Thijs Stuurman Security Operations Center PGP Key-ID: 0x16ADC048 Fingerprint: 2EDB 9B42 D6E8 7D4B 6E02 8BE5 6D46 8007 16AD C048 Internedservices - a KPN Company Wielingenstraat 8 | 1441 ZR Purmerend | The Netherlands T: +31(0)299476185 | M: +31(0)624366778 W: https://www.internedservices.nl | L: http://nl.linkedin.com/in/thijsstuurman -----Oorspronkelijk bericht----- Van: Openvas-discuss [mailto:[email protected]] Namens Jan-Oliver Wagner Verzonden: Tuesday, December 13, 2016 3:11 PM Aan: [email protected] Onderwerp: Re: [Openvas-discuss] Sharing notes and overrides Am Freitag, 18. November 2016, 13:45:35 schrieb Thijs Stuurman: > OpenVAS users, I got something to work how I wanted it but perhaps there is > an easier way? Have you tried the "New Permission" dialog instead of the omp command line call? > * The admin user can see the role (because he created it) but to > make it visible to the regular user I have manually added the permission (I > have a few other roles which have to share this role): > > omp -u admin -w XXX -Xi "<create_permission><name>get_roles</name><subject > id=User role UUID'><type>role</type></subject><resource > id=SHARE-NOTES-OVERRIDES uuid'></resource></create_permission>" -- Dr. Jan-Oliver Wagner | +49-541-335084-0 | http://www.greenbone.net/ Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 202460 Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
