Re: access control rule for Sort and Group function
Austin Wang <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
ah ha…
This is the missing config.
p = db.security.addPermission(name='Search', klass='issue')
db.security.addPermissionToRole ('Provisional User', p)
Thanks John!
> On Sep 6, 2018, at 7:48 AM, John P. Rouillard <[email protected]> wrote:
>
> Hi Austin:
>
> In message <[email protected]>,
> Austin Wang writes:
>> Follow the great example below:
>> http://www.roundup-tracker.org/docs/customizing.html#users-may-only-edit-their-issues >
>> I made configuration on the access control rule, so the new register
>> can only see their own issues.
>>
>> However, I found the "Sort On" and "Group On” is no longer usable
>> as there is only one choice (“nothing”) in the drop down selection.
>> There must be some permissions I need to set for 'Provisional User'
>>
>> If you know which permission I should set. Please guide me.
>
> I'm not sure what's happening here, but it would appear that this TAL
> call
>
> context/properties
>
> is returning nothing. Some changes in a roundup release more recent
> than the example may have made the example not work quite right.
>
> Are you using the default classic tracker schema?
>
> If you add:
>
> p = db.security.addPermission(name='Search', klass='issue')
> db.security.addPermissionToRole ('Provisional User', p)
>
> and restart the server does that make a difference?
>
> Another possibility is to add something like:
>
> p = db.security.addPermission(name='View', klass='Issue',
> properties=('id', 'priority'), props_only=True)
> db.security.addPermissionToRole ('Provisional User', p)
>
> and see if the user gets id and priority listed in the dropdowns. If
> this works, you can search for props_only in the upgrading.txt and
> customizing.txt for more info about this.
>
> If anybody else has a provisional user working with a post 1.4
> roundup, can you help out here with ideas?
>
> --
> -- rouilj
> John Rouillard
> ===========================================================================
> My employers don't acknowledge my existence much less my opinions.
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Roundup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/roundup-users