new_contents: from django.core.management.base import BaseCommand, CommandError
  import time
  
  from atlas.prestage.views import submit_all_tapes
  
  
  class Command(BaseCommand):
      args = 'None'
      help = 'Submit request for all tapes '
  
      def handle(self, *args, **options):
          self.stdout.write('Start submit tape rules %s'%time.ctime())
          if not args:
              try:
                  submit_all_tapes()
              except Exception as e:
                  raise CommandError('Some problem during tape rules check: %s'%e)
          self.stdout.write('Successfully finished tape rules  check: %s'%time.ctime())
subject: Fix permission for groups