Add PolicyCheckable concern for things passing to policy check
The following discussion from !6628 (merged) should be addressed:
-
@godfat commented on a discussion: (+8 comments) @mayra-cabrera Good point. On the other hand, I think we should maybe create a module which implements the interface which could please the policy check, maybe
PolicyCheckable
or something like that, and the deploy token should probably just extend it. Because for now it's like adding random methods which I am worried that it could break easily.What do you think?