Subversion Repositories SmartDukaan

Rev

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

Rev 29899 Rev 29926
Line 223... Line 223...
223
 
223
 
224
	private boolean getAccess(String emailId) {
224
	private boolean getAccess(String emailId) {
225
 
225
 
226
		boolean fullAccesss = false;
226
		boolean fullAccesss = false;
227
		List<String> emails = csService
227
		List<String> emails = csService
228
				.getAuthUserBycateggoryId(ProfitMandiConstants.TICKET_CATEGORY_CATEGORY, EscalationType.L3).stream()
228
				.getAuthUserByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_CATEGORY, EscalationType.L3).stream()
229
				.map(x -> x.getEmailId()).collect(Collectors.toList());
229
				.map(x -> x.getEmailId()).collect(Collectors.toList());
230
 
230
 
231
		emails.addAll(
231
		emails.addAll(
232
				csService.getAuthUserBycateggoryId(ProfitMandiConstants.TICKET_CATEGORY_CATEGORY, EscalationType.L2)
232
				csService.getAuthUserByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_CATEGORY, EscalationType.L2)
233
						.stream().map(x -> x.getEmailId()).collect(Collectors.toList()));
233
						.stream().map(x -> x.getEmailId()).collect(Collectors.toList()));
234
 
234
 
235
		if (adminEmail.contains(emailId)) {
235
		if (adminEmail.contains(emailId)) {
236
			fullAccesss = true;
236
			fullAccesss = true;
237
		}
237
		}