Locked
QName: f:locked
Applied to a node to indicate that it has been locked. A locked node is one that a user has specifically requested the lock for. If the lock is granted, the node will only be editable by the owner of the lock.
The lock may only be released by the owner of the lock or a manager/administrator of the branch.
It is not necessary to work with the f:locked
feature directly. Locking and unlocking are handled through specific API calls that check whether such modifications are allowed. That said, the f:locked
feature can be inspected on nodes to determine whether a node is locked.
If a node is locked, its a:has_lock
association may be traversed to determine who owns the lock as well as other properties about the lock ownership.
Configuration
Example
{
"title": "My Document",
"author"
"_features": {
"f:locked": {
}
}
}