[Koha] Staff permission flag

Jonathan Druart jonathan.druart at bugs.koha-community.org
Wed Jul 10 20:22:38 NZST 2024


Hi,

Why not simply use Koha's API? C4::Auth::haspermission or, better,
Koha::Patron->has_permission

Do not assume the way we deal with permissions will not change. However
Koha::Patron->has_permission should still work identically if we modify it.

Regards,
Jonathan

Le mer. 10 juil. 2024 à 05:50, vinod mishra <mishravk79 at gmail.com> a écrit :

> Hello
> I just need a confirmation that whenever we assigned staff permission to
> someone in koha it generate some number depending on options permitted, for
> example full access flag id 1, only catalogue, 4, etc and for others number
> in 3/4 digits.
> My question is above numbers are fixed according to the options permitted
> and will it continue in next versions. Actually I am trying to develop some
> tool and authenticate on the basis of flag ID.
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list