You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2007/09/10 16:36:47 UTC

DO NOT REPLY [Bug 43340] New: - A new created publication uses the access-control of the default publication

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43340

           Summary: A new created publication uses the access-control of the
                    default publication
           Product: Lenya
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Access Control
        AssignedTo: dev@lenya.apache.org
        ReportedBy: rudolf.korhummel@uniklinik-freiburg.de


In the access-control.xml file of new created publication the directory
parameter of the policy-manager and accreditable-manager link to the default
publication. This is because the default Instantiator.java copies the
access-control.xml file form the default publication to the new publication.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43340] - [PATCH] A new created publication uses the access-control of the default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43340





------- Additional Comments From andreas@apache.org  2007-11-23 07:30 -------
(In reply to comment #4)
> (In reply to comment #3)
> > Created an attachment (id=21049)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21049&action=view) [edit] [edit]
> > Updated patch file
> > 
> > Added option to configure if the accreditables of the source publication shall
> > be copied.
> I applied the patch and it works for me.
> Often, but not allways I have to login a second time on the new created
> publication. I see this effect only when copyAccreditables=true and I never saw
> it at the default publication.  

This is strange, actually you should always be required to log in again, because
your credentials shouldn't be accepted by the newly created publication. Do you
see a chance to find out in which circumstances you're not required to log in again?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43340] - [PATCH] A new created publication uses the access-control of the default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43340





------- Additional Comments From rudolf.korhummel@uniklinik-freiburg.de  2007-11-23 06:56 -------
(In reply to comment #3)
> Created an attachment (id=21049)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21049&action=view) [edit]
> Updated patch file
> 
> Added option to configure if the accreditables of the source publication shall
> be copied.
I applied the patch and it works for me.
Often, but not allways I have to login a second time on the new created
publication. I see this effect only when copyAccreditables=true and I never saw
it at the default publication.  

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43340] - [PATCH] A new created publication uses the access-control of the default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43340


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|A new created publication   |[PATCH] A new created
                   |uses the access-control of  |publication uses the access-
                   |the default publication     |control of the default
                   |                            |publication




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43340] - A new created publication uses the access-control of the default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43340





------- Additional Comments From rudolf.korhummel@uniklinik-freiburg.de  2007-09-10 07:49 -------
Created an attachment (id=20787)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20787&action=view)
Instantiator with own acces-control for each new created publication

I added some code to the default Instantiator to set the links to the newly
created publication.	

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43340] - [PATCH] A new created publication uses the access-control of the default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43340





------- Additional Comments From andreas@apache.org  2007-10-26 01:51 -------
Created an attachment (id=21049)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21049&action=view)
Updated patch file

Added option to configure if the accreditables of the source publication shall
be copied.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43340] - [PATCH] A new created publication uses the access-control of the default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43340





------- Additional Comments From rfrovarp@apache.org  2008-01-28 08:32 -------
It works for me. I see that whether or not to copy the values over is a config
file option. Do we want to use that as a default and provide a option to change
it in the usecase?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43340] - [PATCH] A new created publication uses the access-control of the default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43340


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20787|0                           |1
        is obsolete|                            |




------- Additional Comments From andreas@apache.org  2007-09-24 00:57 -------
Created an attachment (id=20870)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20870&action=view)
Converted previous attachment to patch


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43340] - [PATCH] A new created publication uses the access-control of the default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43340


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20870|0                           |1
        is obsolete|                            |




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43340] - [PATCH] A new created publication uses the access-control of the default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43340





------- Additional Comments From rudolf.korhummel@uniklinik-freiburg.de  2007-11-26 01:32 -------
(In reply to comment #5)

> This is strange, actually you should always be required to log in again, because
> your credentials shouldn't be accepted by the newly created publication. Do you
> see a chance to find out in which circumstances you're not required to log in
again?

I hope I can work it out. 
The Tests last friday shows, that the second login mainly occures when I've
logged in at the new createt publication and I click on admin menu. But there
were seldom cases where this didn't happen. Maybe it depends if there was a
login before to another publication. I'll try today.    


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org