Permissions
Editor for permission lists that assigns types such as read and write to directory entries, with a search box and a data-source
- - jComponent
v19|v20
Configuration:
placeholder {String}a placeholder forj-Directorycomponent (default:Search)types {String}permission types (only one character per operation!!!!) (array delimited by comma, default:R,W)dirsource {String}optional, path to a data-source or NEW:id|name,id|nameempty {String}optional, adds a text into the empty permissionsdisabled {Boolean}optional, disables this componentdefault {String}default value oftype(default:R)dirraw {Boolean}optional, disables HTML encoding for text inj-Directory(default:false)autoremove {Boolean}optional, it automatically removes non-existent permissions (default:true)autoexclude {Boolean}optional, it excludes the used permissions from thedirsource(default:true)- NEW:
exec {String}optional, it executes a method (path.to.method) when the user changes the value - NEW:
button {String}optional, a button label (default:Add)
Source:
[
{
id: "123456",
name: 'Peter'
},
{
id: "654321",
name: 'John'
}
]Input & Output:
['R123456', 'W123456', 'W654321']



