Subversion Repositories SmartDukaan

Rev

Rev 4751 | Rev 5884 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4751 Rev 4793
Line 108... Line 108...
108
    
108
    
109
    public boolean canViewReturnRequests() {
109
    public boolean canViewReturnRequests() {
110
        return (SecurityUtils.getSubject().hasRole("Outbound") && SecurityUtils.getSubject().hasRole("TeamLead"));
110
        return (SecurityUtils.getSubject().hasRole("Outbound") && SecurityUtils.getSubject().hasRole("TeamLead"));
111
    }
111
    }
112
    
112
    
-
 
113
    public boolean canManageAgents() {
-
 
114
    	return (SecurityUtils.getSubject().hasRole("TeamLead"));
-
 
115
    }
-
 
116
    
113
    public boolean canViewOrderCancellation() {
117
    public boolean canViewOrderCancellation() {
114
        return (SecurityUtils.getSubject().hasRole("Outbound") && SecurityUtils.getSubject().hasRole("TeamLead"));
118
        return (SecurityUtils.getSubject().hasRole("Outbound") && SecurityUtils.getSubject().hasRole("TeamLead"));
115
    }
119
    }
116
 
120
 
117
    public String editNew() {
121
    public String editNew() {