Message6680
Hi Ralf:
In message <20191004085120.q2mb4qabwp7ujmpz@runtux.com>,
Ralf Schlatterbeck writes:
>On Fri, Oct 04, 2019 at 01:22:19AM +0000, John Rouillard wrote:
>> Ok, figured it out I think.
>> If I add Search permission for msg class, it seems to work as
>> expected.
>>
>> Ralf, is this ticket ok to close?
>
>Hmm, the second problem when you're searching for "authors" should
>probably be fixed.
Yup. thought about that as I was heading to bed last night. It does
need to be fixed.
> Does this only occur for missing search permission?
AFAICT yes. I haven't tried setting a property restricted search
permission. I tested with "Search" on the msg class. Not "Search" on
id, content, and author props of the msg class.
IIUC I can not use a check function in my permission definition. If I
do the search property will be dropped. If I can Search the msg class
but a View check function denies me view permission on the message
search return, I do not see the issue associated with the message in
the rest output. I claim this is fine.
Also did I miss docs on the transitive filtering in rest? I'll check
the rest.txt doc and if it's not documented, I'll add it along with
mentioning the Search perms. |
|
Date |
User |
Action |
Args |
2019-10-04 11:40:19 | rouilj | set | recipients:
+ rouilj, schlatterbeck |
2019-10-04 11:40:19 | rouilj | link | issue2551051 messages |
2019-10-04 11:40:19 | rouilj | create | |
|