I'm working on a new add-on that will work with XFRM and XFMG, if installed. What is the best way to add relevant permissions for those add-ons? I tried adding resource permissions to my add-ons permission group, but when I disabled the resource manager those permissions remained displayed (I thought they would disappear, and then re-appear when I re-enabled the resource manage).
I could check for those two add-ons when my add-on is being installed and add those permissions in for XFRM and XFMG if present, the problem with that is if they are not installed I would need another listener to check to see when an add-on is being installed is it one of those two, and if so add the permissions in then. That approach does not seem to be an efficient way of handling this.
For those of you that created an add-on that works with XF, XFRM, and XFMG how did you handle permissions if one or neither of those add-ons were not installed?
Thank you for any suggestions.
I could check for those two add-ons when my add-on is being installed and add those permissions in for XFRM and XFMG if present, the problem with that is if they are not installed I would need another listener to check to see when an add-on is being installed is it one of those two, and if so add the permissions in then. That approach does not seem to be an efficient way of handling this.
For those of you that created an add-on that works with XF, XFRM, and XFMG how did you handle permissions if one or neither of those add-ons were not installed?
Thank you for any suggestions.