How to access field permission status from Plug-in

Added by adalard chong 5 months ago

Hi folks,

I am developing a plugin to fix a custom field to today's date (not changeable by user) while it's fields permission is set to "Required" in workflow. I am wondering how could i retrieve the field's permission status in my plug-in in this case. Help is very much appreciated and thanks in advances. Following is the environment that i am targeting at the moment :

Environment:
Redmine version 3.4.6.stable
Ruby version 2.3.3-p222 (2016-11-21) [i386-mingw32]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Git 2.19.1
Filesystem
Redmine plugins:
assign_current_date 0.3.0