See #7373 - Remove enum-like parameters - Remove the _str constructor parameter - Add a from_str method to parse permissions from a string