Re: delete a page

Janne Jalkanen <[email protected]> Thu, 20 Sep 2007 22:24:38 +0300
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
Heya!

There *is* a delete button, if you have admin rights!  It's on the  
PageInfo of the page...

You can check your configuration with admin/SecurityConfig.jsp.  It  
will tell you if there's something wrong with your security setup.

/Janne

On 20 Sep 2007, at 15:13, Claudia Frers wrote:

> Hi Konstantin:
> This can be confusing about Jspwiki I know but there is no delete  
> button.
> I wrote:You can delete pages by doing it on the harddisk and pressing
> delete.
> That means that you need to have access to the server whether its  
> the local
> host or the real thing and select the text files and their  
> properties and
> press the delete button on your computer.
> Remember this is all volunteer work and therefore there is often  
> more help
> available for users than
> techies. But if you search the wiki you can actually find this  
> info. ;-)
>
> On 9/13/07, Konstantin Chekushin <[email protected]> wrote:
>>
>> That good, but where is the button "Delete"? I have changed my policy
>> file:
>>
>> My "Admin" user in the group "Admin"
>> And here is the record from policy:
>>
>> grant signedBy "jspwiki",
>>   principal com.ecyrd.jspwiki.auth.GroupPrincipal "Admin" {
>>     permission com.ecyrd.jspwiki.auth.permissions.AllPermission  
>> "JSPWiki";
>> };
>>
>> When I am logged in, I do not see any possibility to remove the  
>> page...
>>
>> After trying I add the record:
>>
>> grant signedBy "jspwiki",
>>   principal "Admin" {
>>     permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*",
>> "delete";
>> };
>>
>> with no result, for my sorry. I still cannot delete users.
>>
>> Can some describe, how I can give permissions to remove pages for my
>> principal user Admin, which is in group "Admin"?
>>
>> Thanks!
>>
>>> -----  
>>> -----
>>> : "Claudia Frers" <[email protected]>
>>> : 2007-09-10 14:31:47.593
>>> : "JSPWiki Users discussion list" <jspwiki- 
>>> [email protected]>
>>> : Re: [Jspwiki-users] delete a page
>>>
>>> Tracer that is the whole idea of security. There are certain  
>>> rights that
>> are
>>> given to Admins who hopefully with no garuntee know what they are  
>>> doing.
>>> Deleting pages means that they are gone forever so only a person  
>>> with
>> admin
>>> rights can dio this. You cannot  and should not give this right  
>>> to an
>>> authenticated user. You can delete pages by doing it on the  
>>> harddisk and
>>> pressing delete or making a backup of them might be better.
>>>
>>> you can give any role all rights by doing this:
>>> grant signedBy "jspwiki",
>>>   principal com.ecyrd.jspwiki.auth.authorize.Role "BigBoss" {
>>>     permission com.ecyrd.jspwiki.auth.permissions.PagePermission  
>>> "*:*",
>>> "modify,rename";
>>>     permission com.ecyrd.jspwiki.auth.permissions.GroupPermission  
>>> "*:*",
>>> "view";
>>>     permission com.ecyrd.jspwiki.auth.permissions.GroupPermission
>> "*:<groupmember>",
>>> "edit";
>>>     permission com.ecyrd.jspwiki.auth.permissions.WikiPermission  
>>> "*",
>>> "createPages,createGroups";
>>>     permission com.ecyrd.jspwiki.auth.permissions.WikiPermission  
>>> "*",
>>> "editPreferences";
>>>     permission com.ecyrd.jspwiki.auth.permissions.WikiPermission  
>>> "*",
>>> "editProfile";
>>>     permission com.ecyrd.jspwiki.auth.permissions.WikiPermission  
>>> "*",
>>> "login";
>>> };
>>>
>>> or
>>> grant signedBy "jspwiki",
>>>   principal com.ecyrd.jspwiki.auth.GroupPrincipal "Admins" {
>>>     permission  
>>> com.ecyrd.jspwiki.auth.permissions.AllPermission"Wikihisec";
>>> };
>>>
>>> Of course you need to create a Admins group or a BigBoss role for  
>>> this
>> to
>>> work..
>>> you can fin all this by searching the jspwiki or here..happy  
>>> reading:
>>> http://doc.jspwiki.org/2.4/wiki/Security
>>>
>>> Note no such delete rights.
>>>
>>> On 9/7/07, Tracer7 <[email protected]> wrote:
>>>>
>>>>
>>>> Hallo
>>>>
>>>> thank you, for your help,
>>>> now it works, the anounymous user can only view pages.
>>>>
>>>> But I have an other problem with userpermissions:
>>>>
>>>> No one can delete a page !
>>>> There is no delete-Button in the page-info.
>>>>
>>>> How can I give rights, that the authenticated user
>>>> can delete users ?
>>>>
>>>> And what is the password of the Admin ?
>>>> I cant log in as Admin.
>>>>
>>>> thank you
>>>> Tracer
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/delete-a-page-tf4398892.html#a12546110
>>>> Sent from the JspWiki - User mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> This is the Jspwiki-users mailing list, in which we discuss the
>>>> stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
>>>> For development discussion, please join jspwiki-dev.
>>>> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
>>>> http://www.jspwiki.org/JSPWikiMailingList
>>>>
>>> _______________________________________________
>>> This is the Jspwiki-users mailing list, in which we discuss the
>>> stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
>>> For development discussion, please join jspwiki-dev.
>>> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
>>> http://www.jspwiki.org/JSPWikiMailingList
>>
>>
>> --------------------------------------------------------------------- 
>> ----------
>> http://www.one.lv - Tavs mobilais e-pasts!
>>
>> Tagad lasi savu e-pastu ar mobilo telefonu - wap.one.lv!
>> _______________________________________________
>> This is the Jspwiki-users mailing list, in which we discuss the
>> stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
>> For development discussion, please join jspwiki-dev.
>> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
>> http://www.jspwiki.org/JSPWikiMailingList
>>
> _______________________________________________
> This is the Jspwiki-users mailing list, in which we discuss the
> stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
> For development discussion, please join jspwiki-dev.
> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> http://www.jspwiki.org/JSPWikiMailingList