forked from mccrodp/message_private
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed private_message access hook and removed redundant classes.
- Loading branch information
mccrodp
committed
Jun 19, 2016
1 parent
0fa83da
commit 19f5e53
Showing
14 changed files
with
53 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
config/install/message.private_message.field_message_private_subject.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ data: | |
override: true | ||
enabled: false | ||
quota: null | ||
days: null | ||
days: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# Add a 'Create a new message for %user' action link. | ||
# Only display the local task on other users profile, not current user's. | ||
message_private.user.create_message: | ||
route_name: message_ui.create_message_by_type | ||
message_private.user.add: | ||
route_name: message_ui.add | ||
title: 'Create a new message for...' | ||
appears_on: | ||
- entity.user.canonical | ||
|
||
# Add a 'Create a new message' action link above message_private view. | ||
# Get from user to Add a 'Create a new message for %user' action link | ||
message_private.messages.create_message: | ||
route_name: message_ui.create_message_by_type | ||
message_private.messages.add: | ||
route_name: message_ui.add | ||
title: 'Create a new message for...' | ||
appears_on: | ||
- message_private.messages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'bypass private message access control': | ||
title: 'Bypass message access control' | ||
bypass private message access control: | ||
title: 'Bypass message private access control' | ||
description: 'Grant to the user the permission to apply CRUD option on any private messages.' | ||
'restrict access': true | ||
'administer message private': | ||
restrict access: true | ||
administer message private: | ||
title: 'Administer message private' | ||
description: 'Access the message private administration pages.' |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.