cowbird.services.impl.filesystem

Module Contents

Classes

FileSystem

Keep the proper directory structure in sync with the platform.

Attributes

LOGGER

cowbird.services.impl.filesystem.LOGGER[source]
class cowbird.services.impl.filesystem.FileSystem(name: dict, **kwargs)[source]

Bases: cowbird.services.service.Service

Keep the proper directory structure in sync with the platform.

Create the file system instance.

@param name: Service name

required_params[source]
abstract get_resource_id(self, resource_full_name)[source]

Each service must provide this implementation required by the permission synchronizer.

The function needs to find the resource id in Magpie from the resource full name using its knowledge of the service. If the resource doesn’t already exist, the function needs to create it, again using its knowledge of resource type and parent resource type if required.

_get_user_workspace_dir(self, user_name)[source]
user_created(self, user_name)[source]
user_deleted(self, user_name)[source]
abstract permission_created(self, permission)[source]
abstract permission_deleted(self, permission)[source]