Acquire.Accounting._accounts module¶
-
class
Accounts(group=None)[source]¶ Bases:
objectThis class provides the interface to grouping and ungrouping accounts, and associating them with users and services. An account can belong to multiple groups. Authorisation of access to accounts is based on which group they are in. Typically the groups will refer to users, e.g. all of the accounts for a user will be in the user’s group, and can then be authorised by authorising the user
-
contains(account, bucket=None)[source]¶ Return whether or not this group contains the passed account
-