permissions

TFS - Set permission for specific project within team project

寵の児 提交于 2019-12-23 08:35:23
问题 we use TFS-2010. we have one Team project under Project collection. and we have 15 Project under team project. now another team (not company employee) is going to join from remote location. and they are going to work on one specific project. Problem: so i would like to do is to set permission in a such a way that they should see only that particular project, rest 14 project should be hidden from them(not even able to check out or get source any how). TFS server currently runs on premises. and

TFS - Set permission for specific project within team project

心不动则不痛 提交于 2019-12-23 08:34:11
问题 we use TFS-2010. we have one Team project under Project collection. and we have 15 Project under team project. now another team (not company employee) is going to join from remote location. and they are going to work on one specific project. Problem: so i would like to do is to set permission in a such a way that they should see only that particular project, rest 14 project should be hidden from them(not even able to check out or get source any how). TFS server currently runs on premises. and

Playstore prompts to 'Declare sensitive permissions'

爱⌒轻易说出口 提交于 2019-12-23 08:30:48
问题 Our Android Manifest doesn't have any permissions for SMS. We did till 4 releases back. But the Playstore still prompts us to fill in the declaration for sensitive permissions by saying the following - Previously declared permissions (3 permissions) android.permission.RECEIVE_SMS android.permission.SEND_SMS android.permission.READ_SMS Could this be coming due to a library that we're using which still requires these permissions? How can we avoid this? Our Manifest has the following permissions

Playstore prompts to 'Declare sensitive permissions'

我是研究僧i 提交于 2019-12-23 08:30:11
问题 Our Android Manifest doesn't have any permissions for SMS. We did till 4 releases back. But the Playstore still prompts us to fill in the declaration for sensitive permissions by saying the following - Previously declared permissions (3 permissions) android.permission.RECEIVE_SMS android.permission.SEND_SMS android.permission.READ_SMS Could this be coming due to a library that we're using which still requires these permissions? How can we avoid this? Our Manifest has the following permissions

Returning custom message when a permission is denied in DRF

☆樱花仙子☆ 提交于 2019-12-23 07:55:39
问题 Django REST Framework has an excellent piece of documentation about permissions. I've been able to use pre-made permission classes and also built my own. However, there are some API methods in which a "Permission denied" generic message is not very informative for the user. For example, if the user is authenticated but the account has expired, it would be nice to let the user know that his account is expired and not just a permission denied error. When building custom permission classes, you

Permission required when using Intent to call phone?

半世苍凉 提交于 2019-12-23 07:46:06
问题 In one of my apps I'm using the following code to issue a phone call: Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(...)); startActivity(intent); The docs say I do need the following Manifest permission to do so: <uses-permission android:name="android.permission.CALL_PHONE" /> Is this really required? I do not understand the difference between a phone and a camera feature. When using a phone intent I do need a permission but I don't need permission for a camera intent: Intent

How to check if I can create a file in a specific folder

懵懂的女人 提交于 2019-12-23 07:44:46
问题 I need to know if I can create a file in a specific folder, but there are too many things to check such as permissions, duplicate files, etc. I'm looking for something like File.CanCreate(@"C:\myfolder\myfile.aaa" ), but haven't found such a method. The only thing I thought is to try to create a dummy file and check for exceptions but this is an ungly solution that also affects performance. Do you know a better solution? 回答1: In reality, creating a dummy file isn't going to have a huge

How to check if I can create a file in a specific folder

£可爱£侵袭症+ 提交于 2019-12-23 07:44:07
问题 I need to know if I can create a file in a specific folder, but there are too many things to check such as permissions, duplicate files, etc. I'm looking for something like File.CanCreate(@"C:\myfolder\myfile.aaa" ), but haven't found such a method. The only thing I thought is to try to create a dummy file and check for exceptions but this is an ungly solution that also affects performance. Do you know a better solution? 回答1: In reality, creating a dummy file isn't going to have a huge

How to get Jenkins working with binaries from a subfolder of the root user?

隐身守侯 提交于 2019-12-23 05:44:23
问题 In my build.xml I defined some jobs, that should be executed by tools, I installed globally via Composer. That means, the binaries are stored in /root/.composer/vendor/bin/ (I'm working as root on my local VM). I set the PATH environment variable in the composer configs (without it the build process was failing): Now the building process is running in permission issues: Started by user anonymous Running as anonymous Building in workspace /path/to/myproject [myproject] $ ant Buildfile: /path

Hadoop permission issue

笑着哭i 提交于 2019-12-23 05:25:25
问题 I've homebrew installed hadoop but now having permission control problems when doing hadoop namenode -format and ./start-all.sh command. I think it's because I put settings in "core-site.xml". The "hadoop.tmp.dir" I put "/tmp/${name}" under. Now it's giving me error in namenode -format as: can't create folder, permission denied. Even I sudo this command, but in the start-all.sh command, still a lot of permissions are denied. I tried to sudo start-all.sh but the password (I only use this pass