Wstęp

Przydatne klasy:

  • DocumentRightService


Sprawdzanie uprawnień do odczytywania pliku

Sprawdza, czy użytkownik ma prawo do odczytania tego pliku lub jego najnowszej wersji

boolean hasRights = documentRightService.hasRightsToReadFile( "jkowalski", 1 );


Introduction

Useful classes

  • DocumentRightService


Checking permission to read a file

Checks if the user has the right to read this file or its latest version

boolean hasRights = documentRightService.hasRightsToReadFile( "jkowalski", 1 );