# Path: subuserlib/classes/permissionsAccepters/permissionsAccepter.py
# class PermissionsAccepter():
#   __metaclass__ = abc.ABCMeta
# 
#   @abc.abstractmethod
#   def accept(self,oldDefaults,newDefaults,userApproved,exposeEntrypoints):
#     """
#     Prompt the user to either accept or edit the given permissions.
#     Writes the new user approved permissions to the subuser's permissions.json file.
#     userApproved may be None if no permissions have been accepted yet.
#     """
#     pass
# 
# Path: subuserlib/classes/userOwnedObject.py
# class UserOwnedObject(object):
#   def __init__(self,user):
#     self.user = user


from collections import OrderedDict
from subuserlib.classes.permissionsAccepters.permissionsAccepter import PermissionsAccepter
from subuserlib.classes.userOwnedObject import UserOwnedObject
import subuserlib.permissions
import subuserlib.print
# -*- coding: utf-8 -*-

"""
This is a PermissionAccepter object used to get user approval of permissions via the command line.
"""

#external imports
#internal imports

class AcceptPermissionsAtCLI(PermissionsAccepter,UserOwnedObject):
  def __init__(self,user,alwaysAccept = False):
    self.alwaysAccept = alwaysAccept

# Path: subuserlib/classes/permissionsAccepters/permissionsAccepter.py
# class PermissionsAccepter():
#   __metaclass__ = abc.ABCMeta
# 
#   @abc.abstractmethod
#   def accept(self,oldDefaults,newDefaults,userApproved,exposeEntrypoints):
#     """
#     Prompt the user to either accept or edit the given permissions.
#     Writes the new user approved permissions to the subuser's permissions.json file.
#     userApproved may be None if no permissions have been accepted yet.
#     """
#     pass
# 
# Path: subuserlib/classes/userOwnedObject.py
# class UserOwnedObject(object):
#   def __init__(self,user):
#     self.user = user


# Path: subuserlib/classes/permissionsAccepters/acceptPermissionsAtCLI.py
from collections import OrderedDict
from subuserlib.classes.permissionsAccepters.permissionsAccepter import PermissionsAccepter
from subuserlib.classes.userOwnedObject import UserOwnedObject
import subuserlib.permissions
import subuserlib.print

# -*- coding: utf-8 -*-

"""
This is a PermissionAccepter object used to get user approval of permissions via the command line.
"""

#external imports
#internal imports

class AcceptPermissionsAtCLI(PermissionsAccepter,UserOwnedObject):
  def __init__(self,user,alwaysAccept = False):
    self.alwaysAccept = alwaysAccept

    UserOwnedObject.__init__(self,user)