mikespook/gorbac

Support returning error to AddPermission

euforia opened this issue · 2 comments

I have a particular use case where errors may be introduced when performing an AddPermission. I would like to propose a list change to the interface from AddPermission(string) to AddPermission(string) error. Any thoughts?

I will put this change to the branch redesign. It takes a while, but now I have time to continue the work.

The interface has already changed to AddPermission(string) error