Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

pytatki.dbconnect.has_access_to_note()

Patryk Niedźwiedziński edited this page Nov 1, 2018 · 1 revision

v1.0.1

has_access_to_note() - returns True if user of given id has access to note of given id

has_access_to_note(
    id_note,
    id_user)

Examples

import pytatki

if pytatki.dbconnect.has_access_to_note(1, 1):
    print("You can open it!")