permission

package
v0.0.40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActionView = profileutils.PermissionInput{
	Resource: "action_view",
	Action:   "view",
}

ActionView describes view permissions on an action

View Source
var CreateLabel = profileutils.PermissionInput{
	Resource: "create_label",
	Action:   "create",
}

CreateLabel describes the create permissions on a label

View Source
var DeleteItem = profileutils.PermissionInput{
	Resource: "delete_item",
	Action:   "delete",
}

DeleteItem describes delete permissions on a feed item

View Source
var DeleteMessage = profileutils.PermissionInput{
	Resource: "delete_message",
	Action:   "delete",
}

DeleteMessage describes the delete permissions on a message

View Source
var FeedItemView = profileutils.PermissionInput{
	Resource: "feed_item_view",
	Action:   "view",
}

FeedItemView describes view permissions on a feed item

View Source
var FeedView = profileutils.PermissionInput{
	Resource: "feed_view",
	Action:   "view",
}

FeedView describes view permissions on a feed

View Source
var GetLabel = profileutils.PermissionInput{
	Resource: "get_label",
	Action:   "view",
}

GetLabel describes the view permissions on a label

View Source
var HideItem = profileutils.PermissionInput{
	Resource: "hide_item",
	Action:   "hide",
}

HideItem describes the hide permissions on an item

View Source
var ItemUpdate = profileutils.PermissionInput{
	Resource: "item_update",
	Action:   "update",
}

ItemUpdate describes the update permissions on items

View Source
var NudgeView = profileutils.PermissionInput{
	Resource: "nudge_view",
	Action:   "view",
}

NudgeView describes view permissions on a nudge

View Source
var PinItem = profileutils.PermissionInput{
	Resource: "pin_item",
	Action:   "pin",
}

PinItem describes the pin permissions on an item

View Source
var PostMessage = profileutils.PermissionInput{
	Resource: "post_message",
	Action:   "create",
}

PostMessage describes the create permissions on a message

View Source
var ProcessEvent = profileutils.PermissionInput{
	Resource: "process_event",
	Action:   "create",
}

ProcessEvent describes the create permission on processing events

View Source
var PublishItem = profileutils.PermissionInput{
	Resource: "publish_item",
	Action:   "create",
}

PublishItem describes create permissions on a feed item

View Source
var ResolveItem = profileutils.PermissionInput{
	Resource: "resolve_item",
	Action:   "resolve",
}

ResolveItem describes the resolve permissions on a feed item

View Source
var SendMessage = profileutils.PermissionInput{
	Resource: "send_message",
	Action:   "create",
}

SendMessage describes the create permissions on a message

View Source
var ShowItem = profileutils.PermissionInput{
	Resource: "show_item",
	Action:   "view",
}

ShowItem describes the view permissions on an item

View Source
var ThinFeedView = profileutils.PermissionInput{
	Resource: "thin_feed_view",
	Action:   "view",
}

ThinFeedView describes view permissions on a thin feed

View Source
var UnpinItem = profileutils.PermissionInput{
	Resource: "unpin_item",
	Action:   "unpin",
}

UnpinItem describes the unpin permissions on an item. To mark a feed item as not persistent

View Source
var UnreadPersistentItems = profileutils.PermissionInput{
	Resource: "unread_persistent_item",
	Action:   "update",
}

UnreadPersistentItems describes the permissions on a feed item

View Source
var UnresolveItem = profileutils.PermissionInput{
	Resource: "unresolve_item",
	Action:   "unresolve",
}

UnresolveItem describes the unresolve permissions on an item

View Source
var UpdateUnreadPersistentItems = profileutils.PermissionInput{
	Resource: "update_unread_persistent_item",
	Action:   "update",
}

UpdateUnreadPersistentItems describes the permissions on a feed item

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL