Hi Sean,
there’s an easier way to archive the same thing: Custom InfoLog types
can have a group-owner. You eg. create a new InfoLog type "SalesReport"
and assign it the group “Sales”. Now you can set the ACL for InfoLog and
group “Sales” and it does not matter which “regular” InfoLog ACL you set
for the creator.
Your error happens as eGW’s schema prog automatic reduces the name of
indexes from repeating parts of the application name: So it normally
removes the excess “info” parts from the name. You can use a
non-nummeric key for the index value to assign it a fixed name:
'ix' => array('index_name' => array('info_id_parent','info_owner', ....)),
Anyway I dont think it’s worth the trouble, just use a group-owner and ACL.
Ralf
seanacc schrieb:
Hi
I have copied the module Infolog and replaced all reference to infolog in
the scripts and filenames to e.g. Sales.
I would like multiple applications of the infolog to have different access
rights to the system ACL whereas if an infolog is entered it can only be
read by certain departments if created within that department. Yet if need
be The HR manager requires Admin to read an infolog he can create an infolog
in the Admin infolog.
The copy seemed to work creating MySQL tables and the application loaded
allowing to create entries which showed up in the database.
2 problems the web page (when click app Sales) does not show the table just
the title of the app and the links on the left, can still add entries via
the links but no view. And when installing through setup the following error
occurs “Identifier name
’egw_Sales_info_id_parent_info_owner_info_responsible_info_status_info_startdate’
is too long”
What have I missed and is the above at all possible to view in a new infolog
app called Sales.
Kind Regards
Sean
–
Ralf Becker
eGroupWare Training & Support ==> http://www.egroupware-support.de
Outdoor Unlimited Training GmbH [www.outdoor-training.de]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 (0)631 31657-0
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers