Re: [xwiki-users] special rights

2008-04-07 Thread [Ricardo Rodríguez]

Hi!


Nohinder wrote:
> 
>  hello again.
> i have tried to solve this paragraph rights for the last couple of days.
> didn't work :)))
> i made a var similar to $isAdvancedUser called $isMyUser and tried to give
> it or not access to parts of a page. then i tried to create a macro that i
> can add in my page where i want to protect the text. i was probably doing
> something very much wrong . and so i am starting again. i have read your
> idea more times to be sure i get it:)
> i am curious where did u put the #includeTopic('Sandbox.FirstParagraph')
> or more importantly where have u explained what does that mean. i see this
> as a method. i still don;t know if xwiki knows about methods. 
> lost :)))
> 

Sorry for being late with this. I've been a "bit" busy :-)

I am not sure I get your doubt. I'm using #includeTopic to "construct" a
document based on several other ones. Five in the case I am using as an
example. This allow me/you to delegate access control to the parts more than
to the whole doc.

Please, allo me to go back to the example:

http://xepecnet.environmentalchange.net/xwiki/bin/view/Sandbox/NichitaStanescu

It now has a [edit] link after each paragraph. I am sending you an account
for this wiki. Login and try to edit any of the four parts. You are allowed
to see all four but you can only edit the first one.

Of course the code is really poor! You could show/hide this "buttons" based
on users rights. And I am sure it is possible to tell XWiki to generate then
dynamically for each #includeTopic if you have edit rights on it. I am not
devoted much time to this. Just trying to create a kind of "proof of
concept" to see if this is what we need.

By the way, I think I've not found any attached file to your previous
message. Could you send it directly to me? Thanks!

Hope this helps,

Ricardo
-- 
View this message in context: 
http://www.nabble.com/special-rights-tp16306398p16537254.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] special rights

2008-04-03 Thread Gabriela Radu

 hello again.
i have tried to solve this paragraph rights for the last couple of days. didn't 
work :)))
i made a var similar to $isAdvancedUser called $isMyUser and tried to give it 
or not access to parts of a page. then i tried to create a macro that i can add 
in my page where i want to protect the text. i was probably doing something 
very much wrong . and so i am starting again. i have read your idea more times 
to be sure i get it:)
i am curious where did u put the #includeTopic('Sandbox.FirstParagraph') or 
more importantly where have u explained what does that mean. i see this as a 
method. i still don;t know if xwiki knows about methods. 
lost :)))




Take care ,
Gabriela Radu :)
www.gabrielaradu.com



- Original Message 
From: [Ricardo Rodriguez] Your EPEC Network ICT Team <[EMAIL PROTECTED]>
To: XWiki Users 
Sent: Tuesday, April 1, 2008 1:36:38 PM
Subject: Re: [xwiki-users] special rights

Hi Gabriela,

Gabriela Radu wrote:
> hello..
>  i don't think i get what you said about the rights on space..
> i was talking about sections from the page that can have different rights(to 
> edit or not) then the page.
> this is what i am trying to make... and yep...i said trying. a bit lost. if 
> you have some pointers they are more then welcomed :D
> i have to write something like macros? in .vm files?
> thank you

Sorry if I have not been able to explain myself. In fact, the problem is 
that I am also a bit lost!

Let's try to start again (it will help me with this issue! It is 
important for our group as well):

We are speaking about being able to create a "page" where "sections" can 
have different assigned rights.

Look at this:

http://xepecnet..environmentalchange.net/xwiki/bin/view/Sandbox/NichitaStanescu

It seems a "page" including text, but it only includes five "calls" to 
other "pages". Look at the code:


#includeTopic('Sandbox.Title')

#includeTopic('Sandbox.FirstParagraph')

#includeTopic('Sandbox.SecondParagraph')

#includeTopic('Sandbox.ThirdParagraph')

#includeTopic('Sandbox.FourthParagraph')


In this case I am using a page (a single XWiki entry in a single space, 
in this case, Sandbox.NichitaStanescu) as a "document" metaphor and I 
can assign rights to any of the pieces as you do with any other page. I 
must not be difficult to add a button close to the starting point of 
each paragraph that only appears if the logged user has edit rights on 
each "section" and allow him/her to edit it.

Please, let me know if this makes sense for you! It will be help me to 
decide if this makes sense for me! Then, we could go ahead completing 
this solution.

XWiki is PLENTY of tools/features. The "only" point is to put it in the 
correct order :-)


Cheers,

Ricardo


BTW: I think it is time to add XWiki to your CV ;-)

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users






  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] special rights

2008-04-01 Thread Gabriela Radu
Hello Ricardo,

let me present 2 cases.
1- you are a user and u will access ca page. there you are allowed to edit the 
"text" part but not the "links" part. and "text" and "sumbit" are on the same 
page
2 - you are superadmin(administrator) and you can edit all: text and links

this is what i want to do :)) i have attached a "photo"...sorry for it...didn;t 
have much time:))

so...if i understood correctly from your email..i do not wanna have a special 
button placed on the page..."edit this part"
 what do you think?
 





- Original Message 
From: [Ricardo Rodriguez] Your EPEC Network ICT Team <[EMAIL PROTECTED]>
To: XWiki Users 
Sent: Tuesday, April 1, 2008 1:36:38 PM
Subject: Re: [xwiki-users] special rights

Hi Gabriela,

Gabriela Radu wrote:
> hello.
>  i don't think i get what you said about the rights on space..
> i was talking about sections from the page that can have different rights(to 
> edit or not) then the page.
> this is what i am trying to make... and yep..i said trying. a bit lost. if 
> you have some pointers they are more then welcomed :D
> i have to write something like macros? in .vm files?
> thank you

Sorry if I have not been able to explain myself. In fact, the problem is 
that I am also a bit lost!

Let's try to start again (it will help me with this issue! It is 
important for our group as well):

We are speaking about being able to create a "page" where "sections" can 
have different assigned rights.

Look at this:

http://xepecnet.environmentalchange.net/xwiki/bin/view/Sandbox/NichitaStanescu

It seems a "page" including text, but it only includes five "calls" to 
other "pages". Look at the code:


#includeTopic('Sandbox.Title')

#includeTopic('Sandbox.FirstParagraph')

#includeTopic('Sandbox.SecondParagraph')

#includeTopic('Sandbox.ThirdParagraph')

#includeTopic('Sandbox.FourthParagraph')


In this case I am using a page (a single XWiki entry in a single space, 
in this case, Sandbox.NichitaStanescu) as a "document" metaphor and I 
can assign rights to any of the pieces as you do with any other page. I 
must not be difficult to add a button close to the starting point of 
each paragraph that only appears if the logged user has edit rights on 
each "section" and allow him/her to edit it.

Please, let me know if this makes sense for you! It will be help me to 
decide if this makes sense for me! Then, we could go ahead completing 
this solution.

XWiki is PLENTY of tools/features. The "only" point is to put it in the 
correct order :-)


Cheers,

Ricardo


BTW: I think it is time to add XWiki to your CV ;-)

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users






  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] special rights

2008-04-01 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi Gabriela,

Gabriela Radu wrote:
> hello.
>  i don't think i get what you said about the rights on space..
> i was talking about sections from the page that can have different rights(to 
> edit or not) then the page.
> this is what i am trying to make... and yep..i said trying. a bit lost. if 
> you have some pointers they are more then welcomed :D
> i have to write something like macros? in .vm files?
> thank you

Sorry if I have not been able to explain myself. In fact, the problem is 
that I am also a bit lost!

Let's try to start again (it will help me with this issue! It is 
important for our group as well):

We are speaking about being able to create a "page" where "sections" can 
have different assigned rights.

Look at this:

http://xepecnet.environmentalchange.net/xwiki/bin/view/Sandbox/NichitaStanescu

It seems a "page" including text, but it only includes five "calls" to 
other "pages". Look at the code:


#includeTopic('Sandbox.Title')

#includeTopic('Sandbox.FirstParagraph')

#includeTopic('Sandbox.SecondParagraph')

#includeTopic('Sandbox.ThirdParagraph')

#includeTopic('Sandbox.FourthParagraph')


In this case I am using a page (a single XWiki entry in a single space, 
in this case, Sandbox.NichitaStanescu) as a "document" metaphor and I 
can assign rights to any of the pieces as you do with any other page. I 
must not be difficult to add a button close to the starting point of 
each paragraph that only appears if the logged user has edit rights on 
each "section" and allow him/her to edit it.

Please, let me know if this makes sense for you! It will be help me to 
decide if this makes sense for me! Then, we could go ahead completing 
this solution.

XWiki is PLENTY of tools/features. The "only" point is to put it in the 
correct order :-)


Cheers,

Ricardo


BTW: I think it is time to add XWiki to your CV ;-)

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] special rights

2008-03-31 Thread Gabriela Radu
hello.
 i don't think i get what you said about the rights on space..
i was talking about sections from the page that can have different rights(to 
edit or not) then the page.
this is what i am trying to make... and yep..i said trying. a bit lost. if you 
have some pointers they are more then welcomed :D
i have to write something like macros? in .vm files?
thank you




Take care ,
Gabriela Radu :)
www.gabrielaradu.com



- Original Message 
From: Sergiu Dumitriu <[EMAIL PROTECTED]>
To: XWiki Users 
Sent: Wednesday, March 26, 2008 5:36:53 PM
Subject: Re: [xwiki-users] special rights

Gabriela Radu wrote:
>  hi.
> i was wondering if xwiki can be managed in that way that i can give users 
> rights for some part of the page. for instance : they can edit the text but 
> not the menu in the page.
> Thank you.
> 

What menu? There's no menu inside the page...

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users






  

No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! 
users and friends. 
http://tc.deals.yahoo.com/tc/blockbuster/text1.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] special rights

2008-03-26 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi Gabriela,

Gabriela Radu wrote:
> i was talking about a menu that i create inside...some links actually. and i 
> don't want the user to be able to edit anything there.

I more or less can figure out what you need. Our take was to use a space 
as metaphor for a what we could call a "document" (a paper, report,...) 
The WebHome of this space will held the table of contents and each entry 
in this toc will point to a different XWiki document. You can them 
manage the access to each of the entries on a per user basis and 
restrict the capability of doing changes in the WebHome to whom you want.

It is of course possible to control who can read a section of a document 
using #if-#else-#end structures, but users that can read the document 
can see the used code. And users with edit rights can change it, of course.

Another options could be to use any other available XWiki technique to 
construct the "document", #include for instance, and add some link to 
edit the sections each user has edit access to. Just an idea... XWiki is 
plenty of options to do what you are looking for... the point is to 
formalize it :-(

There is a thread somewhere in the lists where some topic related with 
publishing were discussed. Somebody said that XWiki was not meant to be 
a complete publishing solution, just a tool to draw a draft. I am not so 
sure about this. Of course I have not skills enough, yet, to go ahead 
with such a project, but XWiki seems to me to be a perfect platform to 
construct the draft that will be enter any other professional publishing 
environment (just thinking about things like FrameMaker, Arbotek, or any 
FOSS alternative...).

Thanks for your time,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] special rights

2008-03-26 Thread Gabriela Radu
i was talking about a menu that i create inside...some links actually. and i 
don't want the user to be able to edit anything there.
 



Take care ,
Gabriela Radu :)
www.gabrielaradu.com



- Original Message 
From: Sergiu Dumitriu <[EMAIL PROTECTED]>
To: XWiki Users 
Sent: Wednesday, March 26, 2008 5:36:53 PM
Subject: Re: [xwiki-users] special rights

Gabriela Radu wrote:
>  hi.
> i was wondering if xwiki can be managed in that way that i can give users 
> rights for some part of the page. for instance : they can edit the text but 
> not the menu in the page.
> Thank you.
> 

What menu? There's no menu inside the page...

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users






  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] special rights

2008-03-26 Thread Sergiu Dumitriu
Gabriela Radu wrote:
>  hi.
> i was wondering if xwiki can be managed in that way that i can give users 
> rights for some part of the page. for instance : they can edit the text but 
> not the menu in the page.
> Thank you.
> 

What menu? There's no menu inside the page...

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] special rights

2008-03-26 Thread Gabriela Radu

 hi.
i was wondering if xwiki can be managed in that way that i can give users 
rights for some part of the page. for instance : they can edit the text but not 
the menu in the page.
Thank you.







  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users