Miri4ever wrote: Tue Jul 04, 2023 4:32 pm
I sometimes still have a little problem with permissions. Let's say there is a BB code called X. For example, one of these systems AI users is supposed to use it for his articles. This AI user is actually a normal user, but PHPBB does the setting of the texts instead of logging in with it.
The command X, however, is to be output in the texts and the permissions in the RIN editor are set to Admin and Moderator. Of course, the AI user has the same permissions from PHPBB. However, code X does not appear in the texts as usual, but is simply ignored and output in its text form.
If I now remove all permissions so that all users can set and use the command X, Rin Editor will process this command correctly. But as soon as permissions are assigned to certain groups, it can happen that it is not executed. Something sometimes seems to clash with the user permissions in PHPBB, that RIN Editor does not go through the permission groups and only processes commands if all users are allowed to use that code.
I know this is difficult to understand and understand where exactly the error lies, but I still wanted to mention it now.
The permission system was not a feature I planned, but it was only added due to the request below.
viewtopic.php?p=14762956#p14762956
viewtopic.php?p=14763021#p14763021
This permission system of this extension not intended to work with permissions of phpbb.
This function is just there so you don't have to make settings in several other places but everything can be resolved in the configuration screen of this extension.
In other words, I don't see anything wrong with what you're saying, since this extension doesn't check phpbb permissions. That is, you will have to leave phpbb's bbcode permission as default, otherwise it will conflict with this extension's permission system.
If you think this permission system of this extension should also reflect the phpbb settings, well in that case sorry I don't have enough programming skills for that.
What I can do is simply remove the permission system and leave only the feature of hiding the buttons for certain groups, which was the initial idea.