问题描述
大家好,
我有一个网络应用程序,我们根据这些爱好跟踪人们。
每当有人改变他或她的爱好时,邮件一直是根据角色发送给他,管理员和其他几个人。
现在我想创建一个测试用户,如果他/她的爱好被更改,管理员的电子邮件不应该推出。任何人都可以告诉我没有编码的任何方式做同样的事情。最重要的是我想在没有任何编码的情况下这样做。否则我可以轻松地在网络配置中添加一个密钥,我可以从每个地方检查它,但我不想要这个。
请建议我可以或可以实现的替代方式。 />
谢谢
Hello everyone,
I have a web application in which we track peoples on the basis of there hobbies.
Whenever someone changes his or her hobby a mail has been sent to him, admin and few other peoples on the basis of there roles.
Now I want to create a test user for whom if his/her hobbies are changed, emails to admin should not roll out. Can anyone tell me any way of doing the same without coding. Most important thing is I want to do this without coding anything. Otherwise I could have easily added a key in web config and I could have checked it from every place but I don''t want this.
Please suggest some alternative way I could or can achieve.
Thanks
推荐答案
这篇关于在特定用户的基于角色的应用程序中避免基于角色的行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!