[Koha] Staff permission flag

vinod mishra mishravk79 at gmail.com
Wed Jul 10 22:52:33 NZST 2024


Thanks
Actually I developed application for visitors counter and staff user name
and password is authenticated / linked with koha borrowers table and
allowed to enter only if flag is 1.

So this type of authentication is possible with API
Thanks

On Wed, 10 Jul, 2024, 13:52 Jonathan Druart, <
jonathan.druart at bugs.koha-community.org> wrote:

> 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