Specifying Authentication mode

2 views
Skip to first unread message

mtset

unread,
Oct 27, 2010, 2:02:41 PM10/27/10
to UNL Event Publisher, brett....@gmail.com
Hello,

We're implementing this system at Concordia for two departments.

I'm modifying tables in the UNL database to add a new user and new
calendar. In brief, here's what I've done:

1. Created new record in account table

2. Created new record in calendar and associated it with the account
id of the new account

3. Created new record in user table and associated it with account id
and calendar id from steps 1 & 2

I am wondering the following:

1) How does this new user log in? (I've tried to create new users in
the UNL UI but there's nowhere to specify a password). We aren't using
LDAP but would like to store user/pass in the database, but there
doesn't appear to be any way to do this.

2) How do I enable recommendations between this calendar and the main
calendar (ID 1)? I've entered "1" in the recommendationswithinaccount
field.

Is there any simpler way within the UI to manage these calendars? If
not, and if this system is approved at Concordia, we may be able to
develop these interfaces and submit the changes here.

Many thanks

jason

Brett Bieber

unread,
Oct 27, 2010, 5:49:15 PM10/27/10
to unl-event...@googlegroups.com, ja...@mtset.com
Hi Jason,

On Wed, Oct 27, 2010 at 1:02 PM, mtset <ja...@mtset.com> wrote:
> Hello,
>
> We're implementing this system at Concordia for two departments.
>
> I'm modifying tables in the UNL database to add a new user and new
> calendar. In brief, here's what I've done:
>
> 1. Created new record in account table
>
> 2. Created new record in calendar and associated it with the account
> id of the new account
>
> 3. Created new record in user table and associated it with account id
> and calendar id from steps 1 & 2
>
> I am wondering the following:
>
> 1) How does this new user log in? (I've tried to create new users in
> the UNL UI but there's nowhere to specify a password). We aren't using
> LDAP but would like to store user/pass in the database, but there
> doesn't appear to be any way to do this.

The authentication is completely configurable. This page has some
basic information
http://code.google.com/p/unl-event-publisher/wiki/Authentication

For a simple DB, you can follow the Auth docs -
http://pear.php.net/manual/en/package.authentication.auth.intro.php

> 2) How do I enable recommendations between this calendar and the main
> calendar (ID 1)? I've entered "1" in the recommendationswithinaccount
> field.

That applies if the calendars are within the same account.

You can also get events on the main (id=1) calendar when the event is
created. On the Create Event form there should be a checkbox which
says "Recommend this event for the main calendar."

> Is there any simpler way within the UI to manage these calendars? If
> not, and if this system is approved at Concordia, we may be able to
> develop these interfaces and submit the changes here.

There's no UI for management of multiple calendars. There are views
to edit calendar and account details, but no overarching admin UI.
There's a set of sample CLI scripts for creating calendars, grouping
calendars into accounts, adding users etc, and that's how we've
handled those 'administrative' tasks. An administrative UI would be
great to have though.

> Many thanks
>
> jason

--
Brett Bieber
University of Nebraska-Lincoln

Reply all
Reply to author
Forward
0 new messages