help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Feature requests for JEM 2.0 - initial public release

ACL view access

Re: ACL view access

11 years 9 months ago
#11611
Hi Jojo,

currently I try to find a solution for additional (view) access levels.
Abstract sayed: The use of JEMHelper::getGID() must be replaced - around hundred changes in round about 20 files. So please give me a bit more time... ;)
The following user(s) said Thank You: jojo12

Please Log in or Create an account to join the conversation.

Re: ACL view access

11 years 9 months ago
#11612
It's X-mas :woohoo:

Please find attached all the files I changed to let JEM support Joomla's access level mechanism.

Please note: This is only the read/view access part, not the real ACL things to control modifying actions. So you must use JEM groups too.
But I think (/hope) this is exactly what Jojo is searching for.

The zip contains modified files only, all originally from JEM 1.9.4.314.
I have made some basic tests but NOT fully validated. Especially attachments and modules teaser and wide I have not tested.

@dev-team: I have commented my changes and commented out original code lines instead of deleting. Feel free to remove both when integrating into github.

Please Log in or Create an account to join the conversation.

Re: ACL view access

11 years 9 months ago - 11 years 9 months ago
#11613
Not yet christmas, but will come!

@Hoffi

I installed new JEM 1.9.4 and then your changes over:

When trying to open different JEM windows, I get the following error:
Parse error: syntax error, unexpected '{' in .../httpdocs/components/com_jem/classes/attachment.class.php on line 200

EDIT: First I have to understand how accessviewlevel menu works
Last edit: 11 years 9 months ago by jojo12.

Please Log in or Create an account to join the conversation.

Re: ACL view access

11 years 9 months ago
#11614
@dev-team: I have commented my changes and commented out original code lines instead of deleting. Feel free to remove both when integrating into github.

Thanks Hoffi for providing the info/changes. Did take a quick peak and it's indeed something that can be used. Think the event-page can give troubles, this as there is being looked at cataccess but in the case mentioned it's 1 category so that shouldn't be a problem.
--> will take a closer look in the weekend.

Please Log in or Create an account to join the conversation.

Re: ACL view access

11 years 9 months ago
#11615
jojo12 wrote: When trying to open different JEM windows, I get the following error:
Parse error: syntax error, unexpected '{' in .../httpdocs/components/com_jem/classes/attachment.class.php on line 200
Oh Sch... :blush: - there is a closing parenthesis missing in that line. :(
Could you please open this file and in line 200 directly behind the ')' add a second ')' - thanks.

The table you attached I can't interprete at the moment (I'm at work - a different sort of problems ;) )
For my tests I created a new Joomla user group and a new Joomla access Level attached to that group only. Then I attached one user to group Registered and the new group.
On JEM I created a category with the new access level and an Event in that category (not sure, if events can have access level I set this to the new one too).
Now this user only can see the new event, all other users (incl. Super users) can't see it (in frontend). This is conform to Joomla itself (e.g. articles).

Please Log in or Create an account to join the conversation.

Re: ACL view access

11 years 9 months ago
#11617
it works! But I've seen that until now I didn't understand the Joomla viewing access menu!
[I had to create articles with the same viewing access levels, to understand how it works! Uff! :sick:

Please Log in or Create an account to join the conversation.

Time to create page: 0.630 seconds