Rewrite method to decide the ShowLevel based on roles
I presume Role is an enum (if it is not, it should be). An enum is a great candidate for a switch statement, and it also makes the conditions very clear:

switch (role) {
    case HOD:
        return showInGui &gt;= 1;
    case STAFF:
        return showInGui == 1 || showInGui == 2;
}
return showInGui == 1;


Note that, if you want you can embed that logic in to the enum itself, and have a simple call to an enum method:

return role.isVisible(showInGui);


Additionally, if you reverse the values of the showInGui to be:

0 -&gt; nobody
1 -&gt; HOD only
2 -&gt; HOD &amp; STAFF
3 -&gt; everyone


then your logic is simplified further to:

switch (role) {
    case HOD:
        return showInGui &gt;= 1;
    case STAFF:
        return showInGui &gt;= 2;
}
return showInGui &gt;= 3;