Hi
I would like to use for authorization purpose role_id attribute in MAC authentication. I have a self-registration captive portal with mac -caching, and I would like the customer to be able to change user roles from guest user database, so when devices associated to that user re-connect to be able to have the attributes of the new role.
So far I have tried with some codes I found in other posts with some changes:
SELECT tgu.attributes->>'Role ID' AS role_id FROM tips_guest_users as tgu WHERE tgu.guest_type = 'DEVICE' AND tgu.user_id = UPPER('%{Endpoint:Username}')
Adding a new attribute at Authentication Sources->Guest user repository, and then use that authorization attribute in role mapping but no luck so far.
Can anyone help me?
Regards
------------------------------
Marcos Gonzalez
------------------------------