| | |
| | | permissions = new ArrayList<RegistrantAccessPermission>();
|
| | | }
|
| | | for (RegistrantAccessPermission rp : permissions) {
|
| | | if (rp.isEditable) {
|
| | | if (rp.mutable) {
|
| | | // only remove editable duplicates
|
| | | // this allows for specifying an explicit permission
|
| | | filtered.remove(rp.registrant);
|
| | |
| | | setToolTipText(MessageFormat.format(Translation.get("gb.regexPermission"), ap.source));
|
| | | break;
|
| | | default:
|
| | | setText("");
|
| | | setToolTipText(null);
|
| | | if (ap.isMissing()) {
|
| | | setText(Translation.get("gb.missing"));
|
| | | setToolTipText(Translation.get("gb.missingPermission"));
|
| | | } else {
|
| | | setText("");
|
| | | setToolTipText(null);
|
| | | }
|
| | | break;
|
| | | }
|
| | | }
|