administration questions

14 views
Skip to first unread message

Sigrid Kelsey

unread,
Jan 4, 2012, 3:09:54 PM1/4/12
to subjec...@googlegroups.com
We are about halfway through installing SubjectsPlus at LSU.  Our indexes and databases and staff list are up and running on SubjectsPlus, and we will be moving our subject guides to the system in the coming months. 

We have our indexes & databases listed by subject, and I have found that the only way to have a new record listed under a particular subject is for the subject librarian to do so.  Is there an easy way around this?  I would like super permissions that give me permission to list a resource under a subject without being the subject librarian.

And another permission related question involves giving someone access to only the staff database, but not the subject guides.  Is that possible in an easy way- right now I have her using a linked table in Microsoft Access, but one of the advantages for SubjectsPlus is that we won't have to deal with that sort of access anymore.

We made a few modifications to the pages- for example, I added a long record display for our databases, which allows our users to link to only one record:
http://www.lib.lsu.edu/databases/  I'm happy to share my code, although I'm not confident that I did it the best way possible.

Happy New Year!
Sigrid

Andrew Darby

unread,
Jan 4, 2012, 3:28:38 PM1/4/12
to subjec...@googlegroups.com
Hi Sigrid,

You're right, that's annoying about not being able to add any subjects
you want. Luckily, it's easily fixed! This has only had 3 minutes of
development and testing put towards it, so tryer beware, but go to
control/includes/classes/sp_Record.php around line 248, and replace
what's there with:

if (isset($_SESSION["eresource_mgr"]) &&
$_SESSION["eresource_mgr"] == "1") {
$subject_string = getSubBoxes('', 50, 1);
} else {
$subject_string = getSubBoxes('', 50);
}

This means that anyone with the eresource_mgr permission can add any
subject they want. That's what that permission is meant to do, so I
gave it that rather than admin, but you could substitute admin in that
$_SESSION if you'd rather have it work that way.

As for #2, you could add a new permission type to the $all_ptags array
in config.php, and then use logic like above to stop them from
creating subject guides. Drop me a line if you'd like more clues . . .

I like your parent categories on that databases page.

Andrew

> --
> You received this message because you are subscribed to the Google Groups
> "SubjectsPlus" group.
> To post to this group, send email to subjec...@googlegroups.com.
> To unsubscribe from this group, send email to
> subjectsplus...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/subjectsplus?hl=en.

Reply all
Reply to author
Forward
0 new messages