Owner not recognized

smurf007 27 Jan, 2014
Hi,

I tried to set the richt permissions for an edit link. But, only if I give the public edit permissions, I'm able to acces the edit page. Permissions column is set, user is logged in.

Can I bypass the edit permissions by a customfield in which I use an If Then statement like

If Model[column] =! userid Then go to 'main page' else 'stay on edit page'
Max_admin 27 Jan, 2014
Which version ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 28 Jan, 2014
Ok, the owner permissions should work then, what do you have in the "owner id" column field ? and what's the table field name which contains the user's id ?

Please make sure you login or logout (your session must be reset) after you do any changes to the permissions!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
smurf007 28 Jan, 2014
I made a form with Chronoforms V5 with a custum field wich contains the user id. This is stored in a column named 'user_id'.

In CCV5 I create a connection. Under ' Stored fields' I refer to 'Invoer.user_id'; this is the same column.

Under Permissions I set the 'user id column' to 'user_id'

When I clean-up my internet history, I cannot acces the page.
smurf007 29 Jan, 2014
Tried with a cleaned cache, same results. Any suggestions?
smurf007 30 Jan, 2014
Just installed the latest version of ChronoFroms V5. And... just the same problem. Acces denied. Any suggestions? Or is this nice option not yet implemented?
smurf007 31 Jan, 2014
Too bad. Tried instead of the stored option an other option, but didn't work. The edit option is THE REASON to buy CCV5 (or not to buy😉)
smurf007 01 Feb, 2014
Wrong topic;

Unbelievable.. Very poor implementation of the permissions (or bad support😟)... Even with guest an public set on 'allowed', the ' Access denied' warning shows up when I try to visit a CCF5 form... Any support possible??
GreyHead 01 Feb, 2014
Hi smurf007,

Please contact Max using the Contact Us menu above and linking to this thread. He understands the links between CC5 & CF5 and how the permissions are supposed to work much better than I do.

Bob
smurf007 01 Feb, 2014
Done.

A workaround like:

1) Custom / Hidden field which prompts the user_id from the user who is logged in
2) Custom / Hidden field which prompts the user_id from CC form

3) Validation that 1=2

This should work also, but it doesn't look very nice🙂
smurf007 01 Feb, 2014
Done; Just installed the new version of CCV5. No solution. The 'user_id' column is not recognized. With the new version is is possible to edit as a guest (with the right permissions). This was not possible with the previous version. Just one new version... with the right permissions-check🙂
Max_admin 01 Feb, 2014
Hi smurf007,

First of all, apologizes for not responding sooner, was very busy with the new versions and the new CCv5 tutorials.

If you want to use the "owner field" then you must include the Model's title, so it should be
Model.user_id
, and use your own model title.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
smurf007 01 Feb, 2014
Thanks for your reply. Tried of course also with my Model title. Doesn't made any difference. Only when I set the permissions for geust and public (for edit) to allowed, the acces is allowed. With owner allowed and no other, no acces.

Use a customfield field in CF to show my user_id. In CCV5 I made the user_id visable. I'm pretty sure that, in theory, it should work.
smurf007 03 Feb, 2014
Tried with settings which can be found on: http://risman-tools.nl/images/CCv5_access_denied.pdf
Max_admin 04 Feb, 2014
Thank you, I will investigate this issue!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
smurf007 07 Feb, 2014
Hi Max,

Solved the problem?

Regards,

Smurf
smurf007 08 Feb, 2014
Updated Joomla to version 3.2.2. Still the same problem.
Max_admin 10 Feb, 2014
Hi Smurf,

No, I couldn't test it yet, this may take sometime as I'm busy with some other tasks at the moment!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
smurf007 01 Mar, 2014
Hi Max,

Still busy? I need a solution; one of the last problems I have with my website before it's fully functional🙂

Regards,

Smurf007
This topic is locked and no more replies can be posted.