Paul van der Westhuizen | 1 Aug 18:20 2009
Picon

Re: Proposal: Permissions System

So I did some searching and so the only reasonable one I came up with is:

PHP Generic Access Control Lists. http://phpgacl.sourceforge.net/

I'll look into it a bit more. It might be that it can fit or it might be 
too reliant on storing user/permission information within it's own 
system/db.

Anyone have any thoughts on this?

Paul

Steve Herber wrote:
> Maybe there is another open source project that could be linked in
> instead of writing yet another stand alone permission system.
>
> Designing a permission structure independent of an implementation is a
> great start.
>
> Thanks,
>
>   

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Paul van der Westhuizen | 1 Aug 19:09 2009
Picon

Re: Proposal: Permissions System

Looking a bit more at phpGACL I think it could be a great match, but 
maybe someone more familiar with LDAP authentication or other external 
authentication methods used by MRBS could tell me whether this could work:

Access Control Object (ACO) - An action requested to be performed
Access Request Object (ARO) - A entity, e.g. user requesting an action 
to be performed.
Access eXtension Object (AXO) - An object to perform an action on.

For example, a "room" could be an ACO and "view" the AXO. For the 
db_auth method the ARO would be a user or group from the database. For 
LDAP it would be a user or group from the mail server.

The administrator setting up the access lists for MRBS would then have 
to set up their own AROs to match their system and decide which AROs are 
allowed or denied certain ACOs.

Sound good?

I've probably confused some of you. Please read the phpGACL manual, as 
it's explained well there: http://phpgacl.sourceforge.net/manual.pdf

Paul

Paul van der Westhuizen wrote:
> So I did some searching and so the only reasonable one I came up with is:
>
> PHP Generic Access Control Lists. http://phpgacl.sourceforge.net/
>
> I'll look into it a bit more. It might be that it can fit or it might 
(Continue reading)

Steve Herber | 1 Aug 20:08 2009

Re: Proposal: Permissions System

The package looks good in that they got to version 3.3.7.
Unfortunately that release was in September 2006.  The recent
mail list activity is all marked as spam.  But the company
that sponsored the software, timetrex.com, seems to be alive
and well so there might be support if it is needed.

The code uses the ADODB library and they indicate that ADODB supports
these database backends: MySQL, PostgreSQL, Oracle, or MSSQL.
But I checked the ADOdb web site:  http://adodb.sourceforge.net/
and they now support many other databases and LDAP.  The LDAP
support is user contributed and not fully tested.  It might work
for this project.

This software might be a good choice for the project and the developers
may be interested in extending it to support LDAP in the future.
At least using this package helps split the code into nice functional
modules.

Thanks for investigating this option.

--

-- 
Steve Herber	herber <at> thing.com		work: 206-221-7262
Software Engineer, UW Medicine, IT Services	home: 425-454-2399

On Sat, 1 Aug 2009, Paul van der Westhuizen wrote:

> So I did some searching and so the only reasonable one I came up with is:
>
> PHP Generic Access Control Lists. http://phpgacl.sourceforge.net/
>
(Continue reading)

pal | 1 Aug 20:24 2009
Picon

feature request: week number in mincal

I'd very much like to have the week numbers displayed in the mini calendar. Could be an option in
the config-file. The week numbers should be printed to the left, in a smaller and lighter font
than the rest of the dates.

Anyone?
--
Pål Monstad

--

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Paul van der Westhuizen | 1 Aug 21:13 2009
Picon

Re: Proposal: Permissions System

It seems one limitation that might affect MRBS is that it requires PHP 
4.2 or higher. Anyone know how much of a problem that's likely to be for 
existing users?

Would it maybe be an option to start a v2 with it included and only do 
bugfixes for the older v1.x.x release?

Paul

Steve Herber wrote:
> The package looks good in that they got to version 3.3.7.
> Unfortunately that release was in September 2006.  The recent
> mail list activity is all marked as spam.  But the company
> that sponsored the software, timetrex.com, seems to be alive
> and well so there might be support if it is needed.
>
> The code uses the ADODB library and they indicate that ADODB supports
> these database backends: MySQL, PostgreSQL, Oracle, or MSSQL.
> But I checked the ADOdb web site:  http://adodb.sourceforge.net/
> and they now support many other databases and LDAP.  The LDAP
> support is user contributed and not fully tested.  It might work
> for this project.
>
> This software might be a good choice for the project and the developers
> may be interested in extending it to support LDAP in the future.
> At least using this package helps split the code into nice functional
> modules.
>
> Thanks for investigating this option.
>
(Continue reading)

Paul van der Westhuizen | 1 Aug 21:17 2009
Picon

Re: feature request: week number in mincal

Sounds good. Why not check if it's already on the feature request 
tracker and if not then add it. :)

http://sourceforge.net/tracker/?group_id=5113&atid=355113

Paul

pal <at> hkskole.no wrote:
> I'd very much like to have the week numbers displayed in the mini calendar. Could be an option in
> the config-file. The week numbers should be printed to the left, in a smaller and lighter font
> than the rest of the dates.
>
> Anyone?
> --
> Pål Monstad
>
>
>   

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
John Beranek | 1 Aug 22:01 2009
Picon

Re: feature request: week number in mincal

pal <at> hkskole.no wrote:
> I'd very much like to have the week numbers displayed in the mini
> calendar. Could be an option in the config-file. The week numbers
> should be printed to the left, in a smaller and lighter font than the
> rest of the dates.

Just implemented this, but there's a slight technicality. It's only
accurate if $weekstarts is 1, to start weeks on a Monday (which to me is
the only sensible way, but it seems lots of other people think differently).

John.

--

-- 
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake
Attachment (smime.p7s): application/x-pkcs7-signature, 4505 bytes
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
mrbs-general mailing list
mrbs-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general
pal | 1 Aug 22:51 2009
Picon

Re: feature request: week number in mincal

> pal <at> hkskole.no wrote:
>> I'd very much like to have the week numbers displayed in the mini
>> calendar. Could be an option in the config-file. The week numbers
>> should be printed to the left, in a smaller and lighter font than the
>> rest of the dates.
>
> Just implemented this, but there's a slight technicality. It's only
> accurate if $weekstarts is 1, to start weeks on a Monday (which to me is
> the only sensible way, but it seems lots of other people think differently).

Thanks! I'm luckily one of them to agree with you that Monday is the day to start a new week :-)
Any tip to where I can download the mincal.php file and what line to add to my conf file to test
this? I can test this if you want.
--
Pål Monstad
pal at hkskole.no

--

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
jberanek | 1 Aug 23:05 2009
Picon
Picon

SF.net SVN: mrbs:[1168] mrbs/trunk/web

Revision: 1168
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1168&view=rev
Author:   jberanek
Date:     2009-08-01 21:05:58 +0000 (Sat, 01 Aug 2009)

Log Message:
-----------
* Implemented new config variable, $mincals_week_numbers. If this is
 set to true, week numbers will be shown in the mini-calendars. The
 numbers will only be accurate if you set $weekstarts to 1.

Modified Paths:
--------------
    mrbs/trunk/web/mincals.inc
    mrbs/trunk/web/mrbs.css.php
    mrbs/trunk/web/systemdefaults.inc.php

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
pal | 1 Aug 23:01 2009
Picon

please put this an example in the config file

I fiddled for a couple of hours today to sort out a problem with wrong encoding in dates in latest
MBRB release. The special Norwegian characters æøå turned out to be displayed as ? in days.

I finally figured out how to get this correct, but a small example in the config file could have
saved me from this. Hope you can put this in the config file as an example to get special
character sets to work:

I had to put in $override_locale = "no_NO.utf8"; the code no_NO.utf8 was not very obvious I think
but it solved the problem.

Perhaps this saves Danes, Swedes and Germans (and others?) from the same trouble :-)
--
Pål Monstad

--

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Gmane