-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wichert Akkerman wrote:
> Previously Tres Seaver wrote:
>
>>Within a single PAS, it is an error to have two principals with the same
>>ID; otherwise you will end up granting permissions inappropriately. If
>>you have plugins which are generating ide
Previously Tres Seaver wrote:
> Within a single PAS, it is an error to have two principals with the same
> ID; otherwise you will end up granting permissions inappropriately. If
> you have plugins which are generating identical IDs, then you need to
> have one or both of them use prefixes (that i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wichert Akkerman wrote:
> Previously Tres Seaver wrote:
>
>>We aren't "enforcing" anything: the plugin can't fulfill its own
>>contract (in this case, to return a list of (id, title) tuples) if the
>>user has screwed up by configuring the other plugi
Previously Tres Seaver wrote:
> We aren't "enforcing" anything: the plugin can't fulfill its own
> contract (in this case, to return a list of (id, title) tuples) if the
> user has screwed up by configuring the other plugins that way.
If multiple principals share have the same id you will still f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris McDonough wrote:
>>> Is anyone against removing that assertion?
>>
>>
>> - -1. Asserts only affect debug mode, anyway, which means that they
>> help
>> find problems.
>
>
> FWIW, this is not true. Asserts happen outside of debug mode unless
Is anyone against removing that assertion?
- -1. Asserts only affect debug mode, anyway, which means that
they help
find problems.
FWIW, this is not true. Asserts happen outside of debug mode unless
you've compiled somehow to .pyo's.
___
Zop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sidnei da Silva wrote:
> There is an assertion in ZODBRoleManager, in the
> listAssignedPrincipals method that makes it bomb when there's more
> than one principal returned from searchPrincipals.
>
> Now, while it doesn't make much sense to have prin
There is an assertion in ZODBRoleManager, in the
listAssignedPrincipals method that makes it bomb when there's more
than one principal returned from searchPrincipals.
Now, while it doesn't make much sense to have principals with the same
id being returned by different plugins, that might be just t