// flexible (it is easier to configure roles and then change role-to-user assignments than
// it is to maintain
// permissions for each user).
// But these next lines assign permissions directly to this trivial account object just for
// simulation's sake:
account.addStringPermission("blogEntry:edit"); // this user is allowed to 'edit' _any_
// blogEntry
// fine-grained instance level permission:
account.addStringPermission("printer:print:laserjet2000"); // allowed to 'print' to the
// 'printer' identified
// by the id 'laserjet2000'