WeBWorK Main Forum

Clicking "Edit Tags" causes authentication error

Clicking "Edit Tags" causes authentication error

by Larry Riddle -
Number of replies: 0

In the Library Browser while logged in as admin, clicking on "Edit Tags" for a local problem on our WW server results in the message "Authentication failed. Log in again to continue". And sure enough, if I try to do anything else, I'm sent back to the login screen. Once logged back in, I can return to the Library Browser and click on the edit button for the problem to go into the Problem Editor. I can then manually enter (or edit) tags and save the file. It seems that the "Edit Tags" button is the source of the issue. We are on WW 2.19.

Is there some setting in a configuration file that I need to change? I did check and the default setting permissionLevels(modify_tags => "admin") is not overridden in the localOverrides.conf file. Just to be safe, I did enable $permissionLevels{modify_tags} = "admin"; in localOverrides. Didn't help.

Could it be a permission issue with the courses? Here is an example with one of the problems I've been trying to edit tags in the Library Browser

-rw-rw-r-- 1 www-data www-data 5970 Jul 26 15:20 separable.pg

If I go to the command line as wwadmin, I can edit this file manually as expected.

Any suggestions?

This isn't a big issue, but I'm editing some problems I wrote several years ago and figured I should go ahead and include the tags in case I every submit them for the OPL.