something like:
public class SomeClass {
private String createdBy;
...
public String disabled(Identifier.Type type) {
return createdBy.equals(container.getUserName())? null: "Only the
creator can modify this object";
}
}
HTH
Dan
On 15 October 2013 17:01, james agada <[email protected]> wrote:
> I want to allow only the creator of a record to be the one able to do it.
> Any ideas?
>
