Mike,

AFAIK, the openserctl script does not currently look at any database tables for a list of valid groups.

I've implemented, locally, a table of ACL groups (descriptions) that a PHP script manages. It works fine over here. Note that to remain compatible, the grp column in the grp table must still contain a "name" instead of a foreign key (id) from the group_list table. Thus, the group_list table contains (id, grp, description, last_updated) columns.

If you implement the above, you might want to perform a similar task for the usr_preferences table. I found it useful as well.

Regards,
Norm

Mike Williams wrote:
On Wednesday 05 July 2006 11:48, SourceForge.net wrote:

Is storing the groups available in the database an option?

----Mike

Support Requests item #1517597, was opened at 2006-07-05 15:48
Message generated for change (Tracker Item Submitted) made by Item
Submitter You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743021&aid=1517597&group_
id=139143

Please note that this message will contain a full copy of the comment
thread, including the initial issue submission, for this request,
not just the latest update.
Category: installation
Group: ver devel
Status: Open
Priority: 5
Submitted By: Norman Brandinger (goestelecom)
Assigned to: Nobody/Anonymous (nobody)
Summary: openserctlrc

Initial Comment:
1)

/usr/local/etc/openser/openserctlrc is overwritten on
each "make install" of OpenSER.

The destruction of user provided overrides in this file
is done with no notification.

Perhaps, a check to see if openserctlrc exists could be
done, and if found, the existing one is left alone (or
an option given to overwrite is presented).

2)

It would be a good idea to include ACL_GROUPS in
openserctlrc so end users could see how to add locally
defined groups.  Without this, openserctl will default
to (and be restricted to use):

ACL_GROUPS="local ld int voicemail free-pstn"

For example, a reasonable local setting might be:

ACL_GROUPS="Anonymous Active Call_Forward_Allowed
PostPaid local ld int voicemail free-pstn prepaid"

Regards,
Norm


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743021&aid=1517597&group_
id=139143

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel





_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to