removing unnecessary HiddenFromDisplayBelowRoleLevelFilter log message
This commit is contained in:
parent
40264e0c0b
commit
ea36cea007
1 changed files with 2 additions and 4 deletions
|
@ -44,14 +44,12 @@ public class VitroFilterUtils {
|
|||
* Gets a filter that filters out any resource
|
||||
* that has a annotation of hiddenFromDisplayBelowRoleLevel higher than current user's role level
|
||||
*/
|
||||
public static VitroFilters getDisplayFilterByRoleLevel(RoleLevel role, WebappDaoFactory wdf){
|
||||
log.info("initializing HiddenFromDisplayBelowRoleLevelFilter");
|
||||
public static VitroFilters getDisplayFilterByRoleLevel(RoleLevel role, WebappDaoFactory wdf){
|
||||
return new HiddenFromDisplayBelowRoleLevelFilter(role, wdf);
|
||||
}
|
||||
|
||||
/* bdc34: Currently, this is not called from anywhere in the code. */
|
||||
public static VitroFilters getUpdateFilterByRoleLevel(RoleLevel role, WebappDaoFactory wdf){
|
||||
log.info("initializing ProhibitedFromUpdateBelowRoleLevelFilter");
|
||||
public static VitroFilters getUpdateFilterByRoleLevel(RoleLevel role, WebappDaoFactory wdf){
|
||||
return new ProhibitedFromUpdateBelowRoleLevelFilter(role, wdf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue