Paolo 9c84558f5f - Added requiredPermissions to the application/config/udfmasterschema.json and set them as mandatory
- Removed the private method _isAllowed from application/controllers/widgets/UDF.php
- Removed required permissions from views application/views/system/fas_udf.php and application/views/system/infocenter/zgvpruefungen.php
- Widget views application/views/widgets/checkbox, dropdown, textarea and textfield now they print the attribute disabled
- Added constant DISABLED to application/widgets/html/HTMLWidget.php
- Removed private property _requiredPermissions from application/widgets/udf/UDFWidget.php
- application/widgets/udf/UDFWidget.php does not check permissions anymore and does not store them anymore
- Added constants PERMISSION_TYPE_READ and PERMISSION_TYPE_WRITE to application/libraries/UDFLib.php
- Removed constant PERMISSION_TYPE from application/libraries/UDFLib.php
- Removed public method isAllowed from application/libraries/UDFLib.php
- Added private methods _readAllowed, _writeAllowed, _setRequiredPermissions and _setReadOnly to application/libraries/UDFLib.php
- UDFLib->displayUDFWidget now checks if permissions are declared in the UDF JSON and if the user is allowed to read and write such UDF
- UDFLib->saveUDFs now checks if the user has the permissions to write such UDF
- Now the UDFs are even displayed in read only mode
2021-09-07 12:13:59 +02:00
2021-07-05 18:18:20 +02:00
2017-09-11 16:06:56 +02:00
2021-05-06 12:57:52 +02:00
2016-04-10 18:11:09 +02:00
2010-01-25 08:48:30 +00:00
2011-02-08 14:05:23 +00:00
2015-04-14 17:24:27 +02:00
2019-06-05 16:35:18 +02:00
2017-02-14 18:58:47 +01:00
S
Description
No description provided
Readme GPL-3.0 168 MiB
Languages
PHP 66.2%
JavaScript 12.3%
HTML 9.1%
XSLT 8.4%
CSS 3.4%
Other 0.5%