Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
OJS development discussion, enhancement requests, third-party patches and plug-ins.
Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
Forum rules
Developer Resources:Documentation: The
OJS Technical Reference and the OJS
API Reference are both available from the
OJS Documentation page.
Git: You can access our public Git Repository
here. Comprehensive Git usage instructions are available on the
wiki.
Bugzilla: You can access our Bugzilla report tracker
here.
Search: You can use our
Google Custom Search to search across our main website, the support forum, and Bugzilla.
Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the
OJS Editorial Support and Discussion subforum; if you have a technical support question, try the
OJS Technical Support subforum.
by dgalewsky » Mon Mar 03, 2008 3:07 pm
I am working on integrating 'implicit' authentication using Shibboleth - into OJS.
One of the things I need to be able to do is to create/register a new user (using information from Shibboleth).
I have found the code that creates new users - in 'classes/user/form/RegistrationForm.inc.php'.
It all looks pretty straitforward as far as creating a new record in the users database - using the UserDao's insertUser method.
The question I have is regarding the necessity of specifying the journal that the new user is registering for.
I have a couple of questions:
* Will it cause problems if I don't create a Role for the new user? It appears that the 'Role' record is where the Journal key is kept.
* Can the user go back in later and set up a role (and specify the Journal at that point)?
Any other thoughts on automatically creating users?
Thanks for any input
-- Dan Galewsky
Texas Digital Library
University of Texas, Austin
-
dgalewsky
-
- Posts: 3
- Joined: Mon Mar 03, 2008 2:55 pm
by asmecher » Mon Mar 03, 2008 3:23 pm
Hi Dan,
The role table is indeed the way users are associated with particular journals. Users can create roles for themselves later, depending on the journal's configuration (i.e. whether Author self-registration is allowed), but this process has caused confusion with readers before and should be avoided unless necessary. If you know from your remote authentication source which journal a user is associated with, it wouldn't hurt to insert a Reader role at the time you create the user account.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5747
- Joined: Wed Aug 10, 2005 12:56 pm
-
Return to OJS Development
Who is online
Users browsing this forum: No registered users and 1 guest