Block Some Fields

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
espo
Veteran Member
Posts: 68
Joined: 2013-03-01 12:55

Block Some Fields

Post by espo » 2020-07-21 08:18

Hi everyone.
I would like to know if it is possible to block some fields for a specific user.
For example, the table has four fields: name, city, address and telephone.
User 1 can fill in all fields, while User 2 can only fill in the phone field. For User 2 the other fields (name, city and address) must be blocked.
It's possible?

Thanks so much.

pböttcher
AppGini Super Hero
AppGini Super Hero
Posts: 1100
Joined: 2018-04-01 10:12

Re: Block Some Fields

Post by pböttcher » 2020-07-21 16:57

Hi,

short answer: yes.

You can disable the fields. There are a couple of posts in the forum on how-to's.
You still need to check that in the hooks insert, update as the pure js version is not safe.

onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 664
Joined: 2019-05-21 22:42
Contact:

Re: Block Some Fields

Post by onoehring » 2020-08-06 15:06

Hi espo,

please see my extension (in my footer) - those might help.
Column-Value-Based-Permissions ( viewtopic.php?f=4&t=3498 ) and
Field Permissions ( viewtopic.php?f=4&t=3308 )

Olaf
Some postings I was involved, you might find useful:
Backup your database (viewtopic.php?f=4&t=3341); Improve security (viewtopic.php?f=4&t=3168); Field Permissions (viewtopic.php?f=4&t=3308); Custom (error) message (viewtopic.php?f=7&t=1740&p=10871#p10906); Audit Log (viewtopic.php?f=4&t=1369&p=10407); Two Factor Authentication (viewtopic.php?f=7&t=3306&p=11478); Add 2nd SAVE CHANGES button (viewtopic.php?f=2&t=3242&p=11104); Place a search on details view (viewtopic.php?f=2&t=3479&p=12484#p12484); Column-Value-Based-Permissions (viewtopic.php?f=4&t=3498)

Post Reply