Subversion Repositories SmartDukaan

Rev

Rev 36890 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36890 Rev 36893
Line 1792... Line 1792...
1792
    }
1792
    }
1793
 
1793
 
1794
    // Users allowed to add / edit / delete contact-us entries.
1794
    // Users allowed to add / edit / delete contact-us entries.
1795
    private static final Set<String> CONTACT_US_EDITORS = new HashSet<>(Arrays.asList(
1795
    private static final Set<String> CONTACT_US_EDITORS = new HashSet<>(Arrays.asList(
1796
            "kangan.monga@smartdukaan.com",
1796
            "kangan.monga@smartdukaan.com",
1797
            "neha.sharma@smartdukaan.com",
-
 
1798
            "gaurav.mathur1@smartdukaan.com"));
1797
            "gaurav.mathur1@smartdukaan.com"));
1799
 
1798
 
1800
    private boolean isContactUsEditor(LoginDetails loginDetails) {
1799
    private boolean isContactUsEditor(LoginDetails loginDetails) {
1801
        return loginDetails != null && loginDetails.getEmailId() != null
1800
        return loginDetails != null && loginDetails.getEmailId() != null
1802
                && CONTACT_US_EDITORS.contains(loginDetails.getEmailId().trim().toLowerCase());
1801
                && CONTACT_US_EDITORS.contains(loginDetails.getEmailId().trim().toLowerCase());