jeremyschulman / netbox-plugin-auth-saml2

Netbox plugin for SSO using SAML2
119 stars 21 forks source link

FLAGS_BY_GROUP multiple options for flags #77

Open nikdelig opened 6 months ago

nikdelig commented 6 months ago

Hello,

would like to have additional Groups to each FLAGS_BY_GROUP entries inside the configuration, such as:

'FLAGS_BY_GROUP': {
    'is_active': ['GROUP_1', 'GROUP_2', ...'GROUP_N'],
    'is_staff': ['GROUP_1', 'GROUP_3', ...'GROUP_N'],
    'is_superuser': ['GROUP_3, 'GROUP_2', ...'GROUP_N']
},

is there currently a possibility to apply such configuration inside those flags or in a similar way?