PodioForbiddenError: "The app with id 123 does not have the right delete on item with id 12345"
PodioForbiddenError: "The app with id 123 does not have the right delete on item with id 12345"
通过API删除的项目在对应的app 123.
它是通过另一个应用程序的引用字段从用户创建的。
PodioItem::delete($item_id);
它实际上曾经工作到几个小时前。
所以我假设在玩 API 时我一定改变了一些权利。因为现在 API 抛出
PodioForbiddenError: "The app with id 123 does not have the right delete on item with id 12345"
我知道普通用户(及以下)在删除不是他们自己创建的项目时受到限制。
将应用程序更改为(不能)删除项目的权限的参数/触发器是什么?我如何恢复它们?
我通过验证为用户(管理员权限)解决了这个问题。
建议使用
扩展错误报告
this item is not owned by this app
通过API删除的项目在对应的app 123.
它是通过另一个应用程序的引用字段从用户创建的。
PodioItem::delete($item_id);
它实际上曾经工作到几个小时前。
所以我假设在玩 API 时我一定改变了一些权利。因为现在 API 抛出
PodioForbiddenError: "The app with id 123 does not have the right delete on item with id 12345"
我知道普通用户(及以下)在删除不是他们自己创建的项目时受到限制。
将应用程序更改为(不能)删除项目的权限的参数/触发器是什么?我如何恢复它们?
我通过验证为用户(管理员权限)解决了这个问题。
建议使用
扩展错误报告this item is not owned by this app