25
Hello, this is a great, great feature! I have used it to very easily add several permissions to a module I'm working on.
I have a question/request about access to the forms created by XoopsGroupPermForm.
I would like it to work like this:
1. a user is a member of a group that has module admin rights for the module where I have used this form.
2. that user logs in, goes to the admin menu, all they get is the admin section for the module their group has admin rights for.
3. that user goes into the admin section for the module, and goes to the permission form XoopsGroupPermForm creates.
4. user happily updates form and changes permissions, because after all, their group has module administrator rights.
What seems to happen is this:
1, 2, and 3 happen okay, but for 4...
user clicks on the submit button in the group permission form and they are told they don't have permission to access that area! But they are a module administrator!!
Why this seems to be happening, I think, is that the user needs to be a member of a group that has *at least one* system admin right. It can be smilies, it doesn't have to be anything fancy like modules, or blocks, or groups. As long as they have any system admin right, then forms made by XoopsGroupPermForm can be updated by them.
But if they don't have any system administrator rights, then they can't update the form.
Please modify XoopsGroupPermForm so that users can complete forms it creates as long as they are module admins for the module the form is in.
Thanks a million, XOOPS is great!
--Julian