com.atlassian.bamboo.security
Interface PermissionDelegate

All Known Implementing Classes:
GlobalPermissionDelegate

public interface PermissionDelegate

Each type of target that can have permissions checked against it will have a delegate. The delegate's job is to separate out the different permissions checks in a cleaner, more maintainable fashion.


Method Summary
 boolean canAdminister(User user, Object target)
           
 boolean canCreate(User user, Object target)
           
 boolean canDelete(User user, Object target)
           
 boolean canUpdate(User user, Object target)
           
 boolean canView(User user, Object target)
           
 

Method Detail

canCreate

boolean canCreate(User user,
                  Object target)

canView

boolean canView(User user,
                Object target)

canUpdate

boolean canUpdate(User user,
                  Object target)

canDelete

boolean canDelete(User user,
                  Object target)

canAdminister

boolean canAdminister(User user,
                      Object target)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.