Skip to main content
Solved

Grant access to single column

  • August 26, 2021
  • 3 replies
  • 321 views

Forum|alt.badge.img+17

Hello, 

I am needing to grant access to a single column in a table (Customer Order Lines), but I would like for the rest of the fields to remain Read Only. Specifically, I am looking to grant access to edit the Note field:

I have been looking through the Database Objects and Presentation Objects, but I do not see any areas where this is possible. Is this type of Permission Set configuration possible? Thank you.

Best answer by Rusiru Dharmadasa

I don’t think permissions/presentation objects concept allow to grant specific columns. It only allows to grant the full page/table (presentation object) - also through the framework it is possible to individually grant specific database procedures like New, Modify, or any other specific database procedure designed by that specific page. If there is such database procedure that will allow a user to edit only this Note column, it will be possible - no idea if there is such in this specific screen though. 

 

Custom events functionality can be used to prohibit modifying any other columns though. That means you grant write access to the whole table for a specific set of users and then create a custom event with a condition to filter those users. Then you can stop their action with an Error_sys error if they are modifying any other column except Notes. 

 

See following documentation to learn more about custom events. 

 

https://docs.ifs.com/techdocs/Foundation1/040_administration/240_integration/320_events/default.htm

This topic has been closed for replies.

3 replies

Rusiru Dharmadasa
Superhero (Employee)
Forum|alt.badge.img+20

I don’t think permissions/presentation objects concept allow to grant specific columns. It only allows to grant the full page/table (presentation object) - also through the framework it is possible to individually grant specific database procedures like New, Modify, or any other specific database procedure designed by that specific page. If there is such database procedure that will allow a user to edit only this Note column, it will be possible - no idea if there is such in this specific screen though. 

 

Custom events functionality can be used to prohibit modifying any other columns though. That means you grant write access to the whole table for a specific set of users and then create a custom event with a condition to filter those users. Then you can stop their action with an Error_sys error if they are modifying any other column except Notes. 

 

See following documentation to learn more about custom events. 

 

https://docs.ifs.com/techdocs/Foundation1/040_administration/240_integration/320_events/default.htm


Forum|alt.badge.img+17
  • Author
  • Superhero (Customer)
  • August 26, 2021

@Rusiru Dharmadasa Excellent. Thank you for the confirmation. 


Forum|alt.badge.img+3
  • Do Gooder (Customer)
  • August 26, 2021

Other option (depending if you want to do it for all users or just for a group of them can be tedious) is also to give permissions to all fields grant the Modify procedures, and per base profile, set all fields Read Only less Notes field. In this way, only Notes field will be available for modification