for my next form i need ACL (form + fields)
on my first domain is only ACL for form active. on other domain ist ACL missing, CF is 8.0.9.
i need redirect fields based on values from database read action.
on my first domain is only ACL for form active. on other domain ist ACL missing, CF is 8.0.9.
i need redirect fields based on values from database read action.
You mean that you need ACL for fields ? does the ACL for form work fine for you ?
what does this have to do with ACL ?
i need redirect fields based on values from database read action.
what does this have to do with ACL ?
1. ACL is not available, despite version 8.0.9 and validation. www domain - yes on subdomain (seminare.nna-foej.de) - not !
2. the form is public
Data Read action only for logged in users.
Data Read Action return the field from joomla table, group1 group2 group3...
the redirect action redirect based on group to form1 form2 form3...
2. the form is public
Data Read action only for logged in users.
Data Read Action return the field from joomla table, group1 group2 group3...
the redirect action redirect based on group to form1 form2 form3...
Added ACL for Views and Actions in v8.0.10
Nice, Max...
But it doesn't work. I have ACL public for the form and ALC "registered users" for the DB Read Action.
But it doesn't work. I have ACL public for the form and ALC "registered users" for the DB Read Action.
And ? neither the form ACL nor the Read Data is working ?
you know that "public" will run ALL the time ?
Yes...
Form ACL = Public
Field1 - 5 ACL = Public
Field6 - 9 ACL = Registered
Only Field 6,7,8,9 for User
Form ACL = Public
Field1 - 5 ACL = Public
Field6 - 9 ACL = Registered
Only Field 6,7,8,9 for User
so what is not working ?
it's not running, when an action runs once, it sets the result in the "Vars" variable, but if you do not finish the form session, the value will be there.
So, even though it does NOT run because of the "registered" condition, you will find the value in the debug.
So, even though it does NOT run because of the "registered" condition, you will find the value in the debug.
TGA/TGT/TGH = DB Read Action (ACL "Super User")
On Record(s) found -> redirect Action
#########################################
Data
Array
(
[view] => form
[chronoform] => 801052298000
)
#########################################
Files
Array
(
)
#########################################
Vars
Array
(
[TGT] => NULL
[TGA] => NULL
[TGH] => NULL
)
#########################################
Info
Array
(
[TGT] => Array
(
[returned] => NULL
)
[TGA] => Array
(
[returned] => NULL
)
[TGH] => Array
(
[returned] => NULL
)
)
On Record(s) found -> redirect Action
#########################################
Data
Array
(
[view] => form
[chronoform] => 801052298000
)
#########################################
Files
Array
(
)
#########################################
Vars
Array
(
[TGT] => NULL
[TGA] => NULL
[TGH] => NULL
)
#########################################
Info
Array
(
[TGT] => Array
(
[returned] => NULL
)
[TGA] => Array
(
[returned] => NULL
)
[TGH] => Array
(
[returned] => NULL
)
)
ACL is set to "Super User". When logging in as a normal user, the action is still executed.
Array
(
[TGT] => Array
(
[field_id] => 54321
[item_id] => 12345
[value] => TGT
)
[TGA] => NULL
[TGH] => NULL
)
(
[TGT] => Array
(
[field_id] => 54321
[item_id] => 12345
[value] => TGT
)
[TGA] => NULL
[TGH] => NULL
)
do NOT worry about the vars, they are "cached" in session.
Does it redirect ?
Does it redirect ?
I can not produce this here, I test by settin the ACL to "super users", I preview the form in admin and the action works, but then I change the url to front and it does not work as expected.
Please note that ACL in v8 is based on Joomla "View Levels", unlike v7 which is based on "User Groups", a view level has multiple user groups.
Please note that ACL in v8 is based on Joomla "View Levels", unlike v7 which is based on "User Groups", a view level has multiple user groups.
not for me... but even with this domain, not all new functions are available, despite version 8.0.11.
do you have any cache enabled ?
You need to login to be able to post a reply.