Access to parts of an table only for selected usergroups?

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
table_otto
Veteran Member
Posts: 30
Joined: 2015-05-12 13:05

Access to parts of an table only for selected usergroups?

Post by table_otto » 2016-02-21 16:10

Hello,

I have a simple table:
ID
year
thumbnail
PDF upload

Then I have changed the files so, that when you click the thumbnail you open/download the PDF, so that my table view has only:
year
PDF upload (with the Image from thumbnail as the Link-Image)

And the detail view:
ID
year
thumbnail
PDF upload

So - now my question: Can I restrict the acces to the PDF (open/download) to only selected member groups, but the thumbnail can view every one. What can/must I do to restrict the access to the linked PDFs only?

Thanks for every hint for that. :)

Regards, Otto

User avatar
shasta59
AppGini Super Hero
AppGini Super Hero
Posts: 231
Joined: 2013-01-08 19:40
Location: Calgary, Alberta, Canada

Re: Access to parts of an table only for selected usergroups?

Post by shasta59 » 2016-03-13 01:47

Otto

What version of AppGini are you using?
It can be done with a script that looks at the group of the user who is logged in and then hiding or giving access based upon the group.

Thanks

Alan
Calgary, Alberta, Canada - Using Appgini 5.50 -

Post Reply