Tonight I wanted to improve permissions' logic within smart accounts

(e.g. Multisig member with TreasuryManager role can bypass global threshold)

The previous system wasn't very elegant and kinda complex to abstract in the sdk so I wanted to rework it

But after discussions with some builders, I ended up simplifying the whole architecture

Coding at night is the best 

10h & 1 pizza later: