old_contents: # -*- coding: utf-8 -*-
  
  """Admin module."""
  
  from django.contrib import admin
  from django.contrib.admin.sites import AdminSite
  
  from cerberus_ac.views import EditUserPermissions
  from .models import *
  
  
  class SecurityAdmin(AdminSite):
      pass
  
  class DataAdmin(AdminSite):
      pass
  
  class AuditAdmin(AdminSite):
      pass
  
  security_admin_site = SecurityAdmin(name='SecurityAdmin')
  data_admin_site = DataAdmin(name='DataAdmin')
  audit_admin_site = AuditAdmin(name='AuditAdmin')
  
  # Security Admin Pages
      # Logs
  @security_admin_site.register(AccessHistory)
  class ObjectAccessHistoryAdmin(admin.ModelAdmin):
      pass
  
  @security_admin_site.register(PrivilegeHistory)
  class PrivChangesHistoryAdmin(admin.ModelAdmin):
      pass
  
      # User Permissions
  @security_admin_site.register(RolePrivilege)
  class PermissionsAdmin(admin.ModelAdmin):
      pass
  
  # Data Admin Pages
  
  
  
new_contents: # -*- coding: utf-8 -*-
  
  """Admin module."""
  
  from django.contrib import admin
  from django.contrib.admin.sites import AdminSite
  
  from cerberus_ac.views import EditUserPermissions
  from .models import *
  
  
  class SecurityAdmin(AdminSite):
      pass
  
  class DataAdmin(AdminSite):
      pass
  
  class AuditAdmin(AdminSite):
      pass
  
  security_admin_site = SecurityAdmin(name='SecurityAdmin')
  data_admin_site = DataAdmin(name='DataAdmin')
  audit_admin_site = AuditAdmin(name='AuditAdmin')
  
  # # Security Admin Pages
  #     # Logs
  # @security_admin_site.register(AccessHistory)
  # class ObjectAccessHistoryAdmin(admin.ModelAdmin):
  #     pass
  #
  # @security_admin_site.register(PrivilegeHistory)
  # class PrivChangesHistoryAdmin(admin.ModelAdmin):
  #     pass
  #
  #     # User Permissions
  # @security_admin_site.register(RolePrivilege)
  # class PermissionsAdmin(admin.ModelAdmin):
  #     pass
  
  # Data Admin Pages
  
  
  
subject: Update 0.9