Closed Elfangor93 closed 1 year ago
There is js error when changing permissions in image:
When changing permission setting spin image is shown but spins forever. Settings are changed when clicking SAVE image button.
Category settings:
Image settings
RESULT: OK
There is a warning: It seems it shows when root category is called.
True. Should be fixed now...
There is js error when changing permissions in image
I will not fix this issue here since it is not related to the access service and it also does not affect the access control from working. Its just a GUI error. I created an issue for that: #124
@szepty-ziemi Do you think we can merge now this PR?
There is a warning: It seems it shows when root category is called.
True. Should be fixed now...
Checked, I confirm it's fixed.
If your last commits do not touch previous changes then regression testing is not needed. If so - we're good to go ;)
What is this service for
This is a redo of PR #104 since the old PR is somehow messed up and not working anymore...
The Access service will be used to extend the default ACL logic of Joomla core in order to allow checks against inown and own access rules. Inown and own access rules are used in JoomGallery to manage ACL exceptions. For example, a user may perform a certain task within an asset of which he is the creator (owner), even if this task is generally forbidden for him.
How to use this service
You can load the service anywhere in Joomla by doing
The following actions are available:
add, admin, delete, edit, editstate, manage
The following assets are available:
image, category, tag, config
How to test the service
Make sure "Debug System" is "Yes" in Joomla Global configuration. Open the file
/administrator/com_joomgallery/src/View/Faulties/HtmlView.php
and insert the following code on line 62 afterthrow new \Exception(implode("\n", $errors)); }
Different test instructions see comments below...