I reverted the ExtraPermissionProvider from my trac.ini configuration, and
also removed authzpolicy. But I still cannot give the permission
TICKET_VIEW_REPORTED permission to user, when I try to do that It says "it
is a non valid action" Here are my [trac] components
[trac]
permission_policies = SupportDeskPolicy
permission_policies =
ReadonlyWikiPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy
permission_store = DefaultPermissionStore
I created an .egg file using the following setup file
from setuptools import setup, find_packages
setup(
name = "support.py",
packages = find_packages()
)
And then I pasted the file in the env/plugin directory, But I am still not
able to define the permission to user, Please help me in this regard.
Thank you
SF
On Thursday, May 4, 2017 at 1:16:00 AM UTC+2, RjOllos wrote:
>
>
>
> On Wednesday, May 3, 2017 at 1:12:27 AM UTC-7, toto200891 wrote:
>>
>> To define a permission TICKET_VIEW_REPORTED,
>>
>> [components]
>> tracopt.perm.config_perm_provider.extrapermissionsprovider = enabled
>>
>> [extra-permissions]
>> _perm = TICKET_VIEW_REPORTED
>>
>> and then the permission was given to the user.
>>
>
> You don't need to use ExtraPermissionProvider to define the permission.
> The SupportDesk policy defines that. So you can revert that part of your
> configuration.
>
> Regarding being unable to activate the plugin:
> You probably have an error in creating your egg, so how about just
> starting with the single file plugin, as instructed on this page:
>
> https://trac.edgewall.org/wiki/CookBook/PermissionPolicies#SupportDeskPolicy
> I made a minor revision to update the steps on that page, so please review
> them again.
>
> Regarding your inability to revoke TICKET_VIEW,
> Does your AuthzPolicy grant TICKET_VIEW?
>
> - Ryan
>
>
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.