I need my users to be able to dynamically create and delete custom user roles by chosing from a predefined set of instructions. I know that with the organization plugin you can do this but it don't want to add all the overhead of the complex (for my use case) organization plugin when the admin plugin works just fine (except for this missing feature).
For now I solved this by dynamically creating the better auth instance and manually getting roles from the db in order to use them to create betterAuth.
However I don't fully like this solution because I would like to handle roles with betterAuth itself instead of manually create separate api and tables. Is there a way to extend an existing plugin (the admin one in this case) to add custom functionalites or should I just fork it and customize it to my needings? Or maybe could you suggest a better way to handle dynamic roles?