Event Timeline
Comment Actions
Questions:
- what happens if a generic function returning a built-in type is given as the type of an instance? this could allow community members to breach their permission limits
- currently, any community member can create types; is there a bug to capture this?
Comment Actions
You mean by basically creating a function that returns an instance of a built-in type even though the user would not be allowed to store that instance directly? That shouldn't be a problem. It wouldn't work for nominals, and for non-nominals it shouldn't matter. But please reopen if I missed something.
- currently, any community member can create types; is there a bug to capture this?
We put creating types behind an additional right, see T299601