Search for usage in LXR

KGAPI2::Drive::Permission::PermissionDetails Class Reference

#include <permission.h>

Public Types

enum  PermissionType { UndefinedType = -1, TypeFile = 0, TypeMember = 1 }

Public Member Functions

 PermissionDetails (const PermissionDetails &other)
QList< Permission::Role > additionalRoles () const
bool inherited () const
QString inheritedFrom () const
bool operator!= (const PermissionDetails &other) const
bool operator== (const PermissionDetails &other) const
PermissionDetails::PermissionType permissionType () const
Permission::Role role () const

Detailed Description

Details of whether the permissions on this shared drive item are inherited or directly on this item.

This is an output-only field which is present only for shared drive items.

Definition at line 61 of file permission.h.

Member Function Documentation

QList< Permission::Role > Permission::PermissionDetails::additionalRoles ( ) const

Additional roles for this user.

Only commenter is currently possible, though more may be supported in the future.

Definition at line 87 of file permission.cpp.

bool Permission::PermissionDetails::inherited ( ) const

Whether this permission is inherited.

This field is always populated. This is an output-only field.

Definition at line 97 of file permission.cpp.

QString Permission::PermissionDetails::inheritedFrom ( ) const

The ID of the item from which this permission is inherited.

This is an output-only field and is only populated for members of the shared drive.

Definition at line 92 of file permission.cpp.

Permission::PermissionDetails::PermissionType Permission::PermissionDetails::permissionType ( ) const

The permission type for this user.

Definition at line 77 of file permission.cpp.

Permission::Role Permission::PermissionDetails::role ( ) const

The primary role for this user.

Definition at line 82 of file permission.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Jun 18 2021 23:10:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.