Posted by jromine on September 10, 2010 at 5:04pm
Does anyone have any notes about deploying OpenScholar at another university? I've started looking at this, and building a list of things that may need attention:
- logo/shield graphics
- local authentication
- authorization (who can create a website)
- local themeing

Comments
Looking at this as well
I'm also looking into this. Perhaps we should start a wikipage?
--Ryan
Ryan Cross
Drupal Development Services
ProjectPier project management and collaboration software
Wiki pages and documentation
Perhaps we already have? I would agree that this documentation needs to be generated.
I see local theme and logo to be the same issue.
Authorization / admin role issues should remain constant across installations since this speaks to a feature of Open Scholar.
local authorization is an interesting nut. This probably requires API documentation since different universities will use different network authentication schemes. What will probably happen is various sub-modules that act as plug-in gateways to the authentication module.
I would suggest that each of these three areas be addressed separately to insure they get handled adequately.
We should clean up those
We should clean up those harvard shields. Local authentication is already there (if I understand this correctly). Once you add a user to a site, they should be able to login to the site as in any other drupal site.
Authorization: We have included a module (sites/all/modules/custom/harvard/iqss_pinserver_register/) as an example for overriding auth.
I know some people are using CAS authentication / authorization with OpenScholar. It will be nice to have a collection these modules somewhere.
There is some good documentation about developing openscholar themes. It's included in the distribution. I.e. http://scholar.harvard.edu/help/vsitehelp/Creating-an-OpenScholar-theme
documentation and authentication
i agree with jromine's list completely.
it would be really good to use openscholar with ldap_integration for instance. I think there is a lot of documentation still needed...I only found how to do a few things by looking in the normal drupal locations for things.
Is there a wiki we can contribute to? as suggested by StephenGWills above?
OpenScholar Auth
Dig into their pinserver module to get some clues on how to override the initial register/create screen.
OpenSchoalr is very nicely done. Great work Harvard.
Chapeau!
anonymous users can create website
Hi guests can also create a website. How can i setup permissions so that only authenticated users can create a website and create only one per user
I had this need too
I uploaded our quickie module to github here: https://github.com/acrollet/Openscholar-force-auth-user
We use this along with the ldap integration module to only allow ldap authenticated users to create sites. good luck!
LDAP integration
Hello acrollet,
Can I put this module em /modules/contrib and configure by admin interface? Do I have integrate this modules with another one?
Hi there, modules/contrib
Hi there,
modules/contrib works, but there is no admin interface - you'll need to modify the code if you need to make any changes - you'll probably want to namespace it for your organization at the very least. (change all instances of unt_ to something appropriate for your organization)
good luck,
Adrian
LDAP user groups mapping to OpenScholar roles
Hey,
glad to see a workaround for some of the topics discussed in this OpenScholar issue.
So far I've successfully managed to map users from my LDAP server defined groups into OpenScholar's user roles, by using the Group by entry parameters at the "Site configuration" -> "LDAP" -> "Web Sites" section in the admin area. For instance, any user from the LDAP teachers user group is automatically assigned the "scholar admin" role upon signing in. If anyone needs help with this I might be able to lend a hand.
Looking into your module's source code, I noticed that you allow website creation based on the user roles, in this case if he is assigned the authenticated user role, right? In this case if I wanted to limit the website creation to the "scholar admin" role, all I had to do was replace the role on line 28.
Have you tried a solution based on Drupal's user permissions? For instance, here's a code snippet from lines 59-60 from the sites/all/modules/openscholar_sitewide/scholarregister/scholarregister.module file:
// Check if user has create site permission$create_site_access = node_access('create', variable_get('scholar_content_type', 'vsite'));
With a solution based on this verification all we had to do is define the permissions in the OpenScholar admin area. I leave it to your consideration.
Other than that, great work on the module, I'll be looking forward for your feedback.
Rolando Isidoro
Adding Modules
It would also be good to know how we can incorporate a drupal module into a "feature" for open scholar
Salvacion - there's the
Salvacion - there's the beginnings of a workflow for creating custom scholar features here -http://groups.drupal.org/node/96474#comment-312754
My notes
Hopefully this will help to answer a few of the questions above:
-Anonymous account/site creation can be disabled by disabling the "Scholar Register" module
-There's a patch for disabling shields (though I'd rather customize) here http://drupal.org/node/853054. Be sure to also remove the shield block from the Vsite-Section-public context.
-We're using http://drupal.org/project/shib_auth for authentication here at Madison. It works fine, though we haven't explored allowing authenticated users to create sites (we're admin-only atm).
- I've heard the theming documentation @ferdi linked to above is quite good
Out of curiosity, are others re-featurizing these kinds of changes (using the workflow @dmcw linked), or just hoping to remember everything when upgrading to future versions?