1 package org.nextime.ion.backoffice.security; 2 3 import org.nextime.ion.framework.business.Publication; 4 import org.nextime.ion.framework.business.Section; 5 import org.nextime.ion.framework.business.User; 6 7 public interface SecurityManager { 8 9 public boolean canCreatePublication(Section section, User user); 10 11 public boolean canEditPublication(Publication publication, int version, User user); 12 13 public boolean canDeletePublication(Publication publication, User user); 14 15 public boolean canCreateSection(Section section, User user); 16 17 public boolean canEditSection(Section section, User user); 18 19 public boolean canDeleteSection(Section section, User user); 20 21 public boolean canAdminSecurity(User user); 22 23 public boolean canAdminResources(User user); 24 25 public boolean canLogIntoBackoffice(User user); 26 } 27 | Popular Tags |