for eq group js, split the permissions management code into a separate file to reduce merge conflicts and clarify code; add message / note details (if available) when a delete permission fails