[horde] Horde: Usr shared apps

eculp at encontacto.net eculp at encontacto.net
Fri Dec 20 08:02:08 PST 2002


Quoting Tony Earnshaw <tonni at billy.demon.nl>:

 | tor, 2002-12-19 kl. 18:41 skrev Chuck Hagenbuch:
 | 
 | > > As an admin I can make shared objects. mnemo, nag, kronolith etc. But I
 | > > cannot then share them with others ("permission denied"). I would have
 | > > thought that by making Permissions and coupling these to shared objects,
 | > > that that would have been the answer. But no.
 | 
 | > You have to go back to that "permission denied" and give us a lot more
 | > information - exact error message, line number page its on, what you do to
 | > get it, etc. This works for others.
 | 
 | O.k. Latest CVS horde, mnemo, kronolith. Made a shared notepad as tonye,
 | who is an admin user; no problem.

Tony, I have been putting off creating graphical reinforcement for my 
explanations as to how to create a shared resource.  When I saw your email,
I decided to do a quick and dirty one to see how it came out and as a reference
point to understand your problem.  This works with or without admin privileges.
You only need admin privileges to add groups from the administration menu.

I could use your help to kill two birds with one stone, please go through it
and let me know where you get to permissions denied.  I can't duplicate it.
Also any suggestions for improvement would be great.  I want to do this for
the most important and sometimes confusing preferences configuration.

I'm using gallery for this and it can be seen at http://gallery.morando.org

Thanks,

ed

P.S. BTW, I'm glad to see that my suggestion that you do a cvs update did
     work out and not leave you with a useless system. <grin>
 | 
 | Want to share the shared notepad with certain users. Go to Notepad,
 | Options, Manage multiple notepads, Edit your notepads, Select notepad,
 | choose the shared one, click on Members list, new page generated with
 | "permission denied". Same thing happens with kronolith and shared
 | calendars.
 | 
 | 'grep -r "permission denied"' in horde, where all Horde modules are
 | subdirectories. find it in horde/shares/edit.php. Line 49, in the
 | conditional:
 | 
 |     if (isset($share) && !is_a($share, 'PEAR_Error') &&
 |         Auth::getAuth() != $share->getOwner()) {
 |         exit('permission denied');
 |     }
 | 
 | Check that it is this conditional that is causing the error; change
 | "permission" to "Permission".
 | 
 | Next time: "Permission denied". But I =am= the Owner of the share, am I
 | not?
 | 
 | Best,
 | 
 | Tony
 | 
 | --
 | 
 | Tony Earnshaw
 | 
 | When all's said and done ...
 | there's nothing left to say or do.
 | 
 | e-post:		tonni at billy.demon.nl
 | www:		http://www.billy.demon.nl
 | 
 | 
 | 
 | 
 | --
 | Horde mailing list
 | Frequently Asked Questions: http://horde.org/faq/
 | To unsubscribe, mail: horde-unsubscribe at lists.horde.org
 | 


-- 


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



More information about the horde mailing list