Web Component: j-Permissions
j-Permissions
- jComponent
v19|v20
- jComponent
Configuration:
placeholder
{String}
a placeholder forj-Directory
component (default:Search
)types
{String}
types of permission (array delimited by comma, default:R,RW
)dirsource
{String}
optional, path to a data-source or NEW:id|name,id|name
disabled
{Boolean}
optional, disables this componentdefault
{String}
default value oftype
(default:R
)dirraw
{Boolean}
optional, disables HTML encoding for text inj-Directory
(default:false
)- NEW:
autoremove
{Boolean}
optional, it automatically removes non-existent permissions (default:true
) - NEW:
autoexclude
{Boolean}
optional, it excludes the used permissions from thedirsource
(default:true
)
Source:
[
{
id: "123456",
name: 'Peter'
},
{
id: "654321",
name: 'John'
}
]
Input & Output:
['R|123456', 'RW|654321']
Author
- Peter Širka petersirka@gmail.com
- License
Created
26. july 2019
Updated
21. december 2024
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Dark mode
Yes
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com