![]() |
HJB 1/7/2020 |
https://www.youtube.com/watch?v=FuFqigYLv_w |
A
|
acpan 1/7/2020 |
Check out this tutorial - |
M
|
mhollibush author 1/8/2020 |
Based on the Youtube video and also the example, I was able to get it to work
|
M
|
mhollibush author 1/8/2020 |
there is a issue with this method! |
W
|
WilliamBDevClub member 1/8/2020 |
there is a issue with this method! If the user is logged in and has access to edit records, all they have to do is change the url table_view.php?edit1id= to table_edit.php?edit1id= this is not what I wanted to accomplish. It needs to prevent users from access the edit page.... Back to the drawing board...
|
A
|
acpan 1/9/2020 |
Glad you solved your problem yourself! |
M
|
mhollibush author 1/9/2020 |
Glad you solved your problem yourself! Care to share a bit how you solve it to benefit other people here? Not sure if i need to say the obvious, click solved button and not sharing how you solve after asking for help may make people not responding to your question in future. ACP
|
![]() |
HJB 1/9/2020 |
https://xlinesoft.com/phprunner/docs/disable_record_editing.htm |
A
|
acpan 1/10/2020 |
it is actually quite simple, many ways to achieve that, eg. at edit page events: It actually wasn't solved... everything worked as thought until I checked the ability to just change the URL to edit and the user is allowed in to the edit page.. So I am looking up security in API and seeing how I can over come this... |
M
|
mhollibush author 1/10/2020 |
https://xlinesoft.com/phprunner/docs/disable_record_editing.htm ... now it's SOLVED!
|
M
|
mhollibush author 1/10/2020 |
it is actually quite simple, many ways to achieve that, eg. at edit page events: if ( !(Security::isAdmin()) ) do a redirect to main page or echo "Not Allowed" and return false; Good luck!
|
![]() |
HJB 1/10/2020 |
Reading up on this... the security has to be based on whether the "certified = 1" If certified = 0 then editing is allowed if certified = 1 then only the Admin can edit pushing through... trying to get a grasp...
|
A
|
acpan 1/10/2020 |
OK,
|
M
|
mhollibush author 1/11/2020 |
This is exactly what I was trying to accomplish! |
A
|
acpan 1/11/2020 |
Glad it helps and thanks for sharing how it looks like. Very Nice! This is exactly what I was trying to accomplish! thank you for the post and the walk through... Works Like A Charm. http://bullyregistry.com/dog_view.php?editid1=71013 |