mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	bug 7127: Added action event for lock user
status 7127: resolved fixed
This commit is contained in:
		
							parent
							
								
									d8da1e9412
								
							
						
					
					
						commit
						59399966c2
					
				| @ -82,6 +82,7 @@ public class EventTypes { | ||||
|     public static final String EVENT_USER_DISABLE = "USER.DISABLE"; | ||||
| 	public static final String EVENT_USER_UPDATE = "USER.UPDATE"; | ||||
| 	public static final String EVENT_USER_ENABLE = "USER.ENABLE"; | ||||
| 	public static final String EVENT_USER_LOCK = "USER.LOCK"; | ||||
| 
 | ||||
| 	//Template Events | ||||
| 	public static final String EVENT_TEMPLATE_CREATE = "TEMPLATE.CREATE"; | ||||
|  | ||||
| @ -1558,6 +1558,7 @@ public class AccountManagerImpl implements AccountManager, AccountService, Manag | ||||
|     } | ||||
| 
 | ||||
|     @Override | ||||
|     @ActionEvent(eventType = EventTypes.EVENT_USER_LOCK, eventDescription = "locking User") | ||||
|     public UserAccount lockUser(LockUserCmd cmd) { | ||||
|         boolean success = false; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user