"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("@babel/runtime/helpers/slicedToArray"));exports.parsePermission=function(e){var t=e.split("#"),i=r.default(t,3);return{ability:i[0],resource_class:i[1],resource_id:i[2]}},exports.stringifyPermission=function(e){var r=e.ability,t=e.resource_class,i=e.resource_id,s=void 0===i?"":i;return"".concat(r,"#").concat(t,"#").concat(s)};
//# sourceMappingURL=utils.js.map
