Hi Jonathan,
Thanks a lot for the prompt response.
I believe our approach is aligned to your vision to some extent as we also treat Business Role as Permission Specification Set.
However, while assigning those Permission Specification Sets (aka Business Roles) we used feature available in the TMF 672 V5 to pass multiple Permission Specification Sets all together with single POST /permissionSet/

However, maybe it is rather a bug (or confusion point) then a feature.
Current modeling in fact tells us two contraversual things:
- From Permission Specification definition we shell conclude that Permission should be atomic.
- From Permission Set definition we see as one of the possible options for Permission to point to Permission Specification Set that in turn represents multiple Permissions, so kind of a circular dependency if you think about it.
The second one case is btw. perhaps rightfully not present in the SID (added in red):

So having this Permission Set -> Permission(s) -> Permission Specification Set -> Permission Specification(s) -> Permission - is it indeed an issue or there was some thought behind?
------------------------------
Denis Kozlov
Telefonica Germany GmbH & Co. OHG
------------------------------
Original Message:
Sent: Nov 25, 2024 07:52
From: Jonathan Goldberg
Subject: TMF 672 V5 doesn't match with SID: Valid period of the Permission is absent in TMF 672 and instead defined on the Permission Set level
Hi Denis
As the former lead for this API, I can state that Permission is a very fine-grained item, a technical and atomic representation of a specific right to do or access something. We group these into Permission Sets, which are (shall we say) closer to the business. We envisage that users will acquire Permission Sets automatically (through Party Role) or manually (through explicit granting). It is the Permission Set as a whole, which represents the permissions implied by user's business role, which can optionally expire.
Although we worked closely with the SID team on the entity model for roles and permissions, it seems that in this particular area the SID team decided to give more flexibility.
If your business has a need to assign atomic permissions separately, and with fine-grained expiry date, you can extend the API model in your implementation.
Hope it helps.
------------------------------
Jonathan Goldberg
TM Forum
------------------------------