I could see a new permission key in permission dialog just by having it in PermissionKeys Class i.e. without using it on any of the attributes like ReadPermission or ModifyPermission, which actually contradicts what you say in the article https://volkanceylan.gitbooks.io/serenity-guide/howto/how_to_register_permissions_in_serene.html (There is a PermissionKeys class in Serene. Some users expected that when they write their permission keys in this class, they will be discovered.
But, PermissionKeys class is only there for intellisense purposes, it is ignored by Serene.)
Note- I haven't registered it using RegisterPermission attribute as well.
We later added a feature to auto add permissions there, doc should be updated.
How do I get this feature now on a project which has an updated serenity version.
i.e. One of my old projects needs this feature, even after updating it to latest serenity I don't see the permissions that I have added in PermissionKey class.
You need to compare source code of ListPermissionKeys methods.
Most helpful comment
We later added a feature to auto add permissions there, doc should be updated.