ASF Bugzilla – Attachment 14171 Details for
Bug 33363
Slide needs to allow client to set non-inheritable Ace programmatically
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Server patch
server_patch.txt (text/plain), 1.22 KB, created by
Nick Longinow
on 2005-02-03 16:55:59 UTC
(
hide
)
Description:
Server patch
Filename:
MIME Type:
Creator:
Nick Longinow
Created:
2005-02-03 16:55:59 UTC
Size:
1.22 KB
patch
obsolete
>Index: AclMethod.java >=================================================================== >35a36 >> import org.apache.slide.content.NodeProperty.NamespaceCache; >123a125,133 >> boolean inheritance = true; >> >> // Inheritance element >> Element inheritanceElm = aceElm.getChild("non-inheritable", NamespaceCache.SLIDE_NAMESPACE); >> if (inheritanceElm != null) >> { >> inheritance = false; >> System.out.println("setting non-inheritable node"); >> } >175c185 >< NodePermission np = new NodePermission(objectUri, subjectUri, actionUri, true, negative); >--- >> NodePermission np = new NodePermission(objectUri, subjectUri, actionUri, inheritance, negative); > >Index: PropertyHelper.java >=================================================================== >1776a1777,1782 >> >> // inheritable >> if (perm.isInheritable() == false) >> { >> currentAceElm.addContent(new Element("non-inheritable", NamespaceCache.SLIDE_NAMESPACE)); >> }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 33363
:
14159
|
14170
| 14171