@medipha/feed 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,5 +11,11 @@ export interface NewsfeedModuleProps {
11
11
  * false also disables reactions, comments and the post actions menu. Defaults to true.
12
12
  */
13
13
  isPostFeed?: boolean;
14
+ /**
15
+ * Permissions the host (ERP) already knows for this user. Left out, the feed uses what the API
16
+ * reports. Given, they can only narrow it: the API still enforces its own check on every call.
17
+ */
18
+ canPost?: boolean;
19
+ canManage?: boolean;
14
20
  }
15
21
  export type NewsfeedAdminModuleProps = Omit<NewsfeedModuleProps, 'isPostFeed'>;