- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1
 
HEEDLS-594 Centre administrators - deactivate admin account #792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HEEDLS-594 Centre administrators - deactivate admin account #792
Conversation
        
          
                ...lLearningSolutions.Web/Views/TrackingSystem/Centre/Administrator/_SearchableAdminCard.cshtml
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...ningSolutions.Web/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModel.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | 
           The new tests look good, but I'll wait on the fixes for the issue Steve raised (and I missed, sorry) regarding centre manager deactivation.  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flagged a formatting issue, but no need to re-review.
        
          
                ...ningSolutions.Web/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModel.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | 
           I'll assign this to you so you can move it to tech lead review when you've run the code cleaner.  | 
    
        
          
                ...ningSolutions.Web/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModel.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...ningSolutions.Web/Controllers/TrackingSystem/Centre/Administrator/AdministratorController.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...ningSolutions.Web/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModel.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...ns.Web.Tests/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModelTests.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...ns.Web.Tests/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModelTests.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...ns.Web.Tests/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModelTests.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...ns.Web.Tests/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModelTests.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...ningSolutions.Web/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModel.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      …e-admin-account-test-fix2
        
          
                ...ningSolutions.Web/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModel.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...ningSolutions.Web/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModel.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
JIRA link
https://softwiretech.atlassian.net/browse/HEEDLS-594
Description
The deactivate admin button will be visible for super admins however, the super admin cannot deactivate their own account
Screenshots
Developer checks
(Leave tasks unticked if they haven't been appropriate for your ticket.)
I have: