Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Update permission is not checked when using <:control/> tag (but destroy permission is checked)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Clarksta  
View profile  
 More options Apr 23, 6:05 am
From: Clarksta <stephen.clar...@gmail.com>
Date: Thu, 23 Apr 2009 03:05:54 -0700 (PDT)
Local: Thurs, Apr 23 2009 6:05 am
Subject: Update permission is not checked when using <:control/> tag (but destroy permission is checked)
Hi,

I added the <controls:/> tag to a table to display edit and delete
buttons. The problem is that the edit button is displayed regardless
of the permissions of the user. (I tested by using false in all
permission methods)

It seems the update_permitted? method is not being called when using
the <controls:/> tag in a table (or table-plus)

When the edit button is clicked it shows a blank page so ultimately
editing is still being restricted but the edit link should not appear
in the table.

I found was the destroy_permitted? is being called correctly so the
delete button is displayed (or not) in the table as expected.

So have I done something wrong or misunderstood ?
If it is a problem should I raise a ticket ?

Thanks
Clarksta


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Locke  
View profile  
 More options Apr 23, 6:26 am
From: Tom Locke <t...@tomlocke.com>
Date: Thu, 23 Apr 2009 11:26:01 +0100
Local: Thurs, Apr 23 2009 6:26 am
Subject: Re: [Hobo Users] Update permission is not checked when using <:control/> tag (but destroy permission is checked)
Yep, definitely a bug. I just pushed a fix

Tom

On 23 Apr 2009, at 11:05, Clarksta wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google