Permission based on Port Description

Hi,

i have set the descriptions along the official template with Cust: ABC.
Is it possible to grant a user XYZ access to ports with desctiption “Cust: ABC”?

Or is it possible to edit user permissions via API?
Any idea to automate user permissions for ports?

Florian

fake it until you make it :wink:

librenms mysql database:
drop table ports_perms;
create view ports_perms as select user_id, port_id from users, ports where port_descr_descr = descr;

“Cust:” value of port description and user description has to match.

Feel free to ask and of course do not test on production!

Florian