ceph / ceph-cookbook

Chef cookbooks for Ceph
Apache License 2.0
100 stars 108 forks source link

Custom Authorization using an Standalone WebApi #231

Open Reza-Noei opened 4 years ago

Reza-Noei commented 4 years ago

Hi,

I want to Implement below scenario using Ceph Server:

  1. Alice wants put a file (or Object) into Bucket 'A'
  2. Ceph will authorize this request using my Api (e.g. localhost:1010/api/HaveAccess?UserToken=xxx&Action=Put&Object=Ali.png&Bucket=A)
  3. The result should be True/False
  4. Ceph will process or ignore that request upon my '/HaveAccess' api.
  5. output will be returned to the client.

Is there any way to have such a Request Flow in Ceph ?