new NodeAttribute(DynamicResourceAccess.signature, signature),
new NodeAttribute(DynamicResourceAccess.flags, initialFlagsValue)
));
// create additional grant for the _schema resource
grants.add(app.create(DynamicResourceAccess.class,
new NodeAttribute(DynamicResourceAccess.signature, "_schema/" + signature),
new NodeAttribute(DynamicResourceAccess.flags, initialFlagsValue)
));
// create additional grant for the Ui view