l# not able to destroy 'a pretty
ring‘
ldie if
$authz->check_access({ session => $session, operation => 'destroy', object => { type =>
'ring', id => { name => 'a
pretty ring' } } });
l
l# but we can destroy 'the one
ring‘
ldie unless
$authz->check_access({ session => $session, operation => 'destroy', object => { type
=> 'ring', id => { name =>
'the one ring' } } });