https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21412

David Cook <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #6 from David Cook <[email protected]> ---
It should be easy enough to add another column to uploaded_files. Something
like "access_level" or "anonymous_access". 

The column will only make sense relative to the "public" column, which makes
the additional column feel weird. 

So another idea would be to change the logic of the "public" column. NULL can
be non-public, 1 can be public anonymous access, and 2 can be public
authenticated access. 

Using integers instead of codes makes things less maintainable in the long-term
though, as it's not clear at a glance what it means. I think this is a problem
we've often ran into Koha.

So... maybe "1" means public anonymous access, and "auth" means public
authenticated access. Of course, that would require a DB schema change which
changes "public" from tinyint(4) to something like char(4). And at that point
maybe it's worth rewriting "1" to "anon" as well. 

--

Anyway, just some thoughts. I haven't had any customers asking for this, so
it's not a priority for me, but that's how I'd do it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to