Comments (5)
In terms of spec, I propose the following change to the settings:
"com.mattermost.custom-attributes": {
"CustomAttributes": [
{
"Name": ":mattermost: [Core Committer](https://developers.mattermost.com/contribute/getting-started/core-committers/)",
"UserIDs": ["someuserID1", "someuserID2"],
"GroupIDs":["somegroupID1","somegroupID2"],
"ShowBadge": true
},
{
"Name": ":mattermost: Staff",
"UserIDs": ["someuserID3", "someuserID4"],
"GroupIDs":["somegroupID3","somegroupID4"]
}
]
}
where an attribute with ShowBadge = true is visible in all channels.
from mattermost-plugin-custom-attributes.
I can help with a PR for this, but would need some pointers about the best way to implement this. I don't see an obvious option for setting post flair in the plugin registry (https://developers.mattermost.com/extend/plugins/webapp/reference/#registry)
Presumably it would make a lot of sense to hook into the code that generates the [BOT] badge for posts from the API.
from mattermost-plugin-custom-attributes.
Instead of a boolean for ShowBadge
, would it make more sense to have the variable hold the actual badge (e.g. "ShowBadge": ":star:"
) ?
This would allow customizing the icon or text to be shown.
Perhaps unnecessary but I would also consider "BadgeLocation" : "left|middle|right"
, to have the badge positioned in one of three locations: (left) FirstName (middle) LastName (right)
.
from mattermost-plugin-custom-attributes.
We're also interested in this!
from mattermost-plugin-custom-attributes.
Since opening this issue mattermost implemented user roles. That covers most of our needs.
I would then close this. If anyone else is still waiting for this feature, feel free to reopen.
from mattermost-plugin-custom-attributes.
Related Issues (20)
- Custom Attribute section is not visible HOT 12
- Allow a user to @mention all users with a particular custom attri HOT 1
- Unable to add attribute: users and team names are not recognized HOT 6
- Update customs attributes using a REST API HOT 2
- Blank GroupIDs cause a Go error when parsing the config.
- Increase Mattermost Redux package version
- while editing the Custom attribute the user is able to save it with the Empty/Without data.
- by Inserting only space in the "Attribute Lable" input box the user Should not able to save the setting. because after inserting space its look Weird.
- When there is 2 custom attribute and i delete 1st attribute then i delete the 2nd attribute then i'm not able to delete the 2nd attribute.
- Unable to add Team selection to a custom attribute HOT 3
- users should be able to edit their own attributes once the name exists.
- System Console --> PLUGINS --> Custom User Attributes -->Blank Screen HOT 1
- MM-47046 Use version of React DOM provided by web app HOT 1
- Release 1.3.1 HOT 1
- Notification settings
- [Request] Groups (of the non AD/LDAP variety) should be supported
- [Request] Badges on user icons
- reloading config.json HOT 2
- README says 1.2.0 is the latest version
- Unable to make dist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost-plugin-custom-attributes.